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

`for..else` doesn't work with the implicit `for array` variant #1035

pepkin88 opened this Issue Mar 29, 2018 · 0 comments


None yet
2 participants

pepkin88 commented Mar 29, 2018

Compiling this:

for [1 2 3]
else 0

gives an error Parse error on line 3: Unexpected 'ELSE'.

Working examples:

for n in [1 2 3]
else 0
for [1 2 3] when 1
else 0

@rhendric rhendric added the bug label Mar 29, 2018

rhendric added a commit to rhendric/LiveScript that referenced this issue Mar 29, 2018

@rhendric rhendric referenced this issue Mar 29, 2018


Fix #1035 #1036

rhendric added a commit that referenced this issue Apr 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment