Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not compile empty list of words #739

Closed
chisui opened this issue Jun 13, 2015 · 0 comments · Fixed by #1041
Closed

can not compile empty list of words #739

chisui opened this issue Jun 13, 2015 · 0 comments · Fixed by #1041

Comments

@chisui
Copy link

chisui commented Jun 13, 2015

If I have an empty list of words like this

<[
]>

the lexer throws TypeError: Cannot read property '0' of undefined. This only happens if the only character in brackets is the newline. Multiple newlines and whitespace are ok.

summivox added a commit to summivox/LiveScript that referenced this issue Jan 10, 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 a pull request may close this issue.

1 participant