Skip to content

Handle parse("a") - #11

Merged
joshfraser merged 1 commit into
joshfraser:masterfrom
drhops:patch-1
Oct 7, 2016
Merged

joshfraser merged 1 commit into
joshfraser:masterfrom
drhops:patch-1

Conversation

@drhops

@drhops drhops commented Oct 7, 2016

Copy link
Copy Markdown
Contributor

parse will currently error for a single letter input, because is_initial(word[0]) will return true, and then parse will call is_initial(word[1]) when word[1] is undefined.

@joshfraser joshfraser left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@joshfraser
joshfraser merged commit 21dbcb3 into joshfraser:master Oct 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants