-
Notifications
You must be signed in to change notification settings - Fork 64
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
Error with destructuring array within if
condition with no braces
#152
Comments
Specifically, the generated code looks like this:
Which has mismatched brackets (the paren after the destructuring expression ended up before the brace) |
See PR #153 |
adrianheine
pushed a commit
that referenced
this issue
Oct 6, 2018
Fixed with 8117b69. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Getting an "Unexpected token" error with code such as the following:
The error doesn't occur if braces are present.
The text was updated successfully, but these errors were encountered: