-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Invalid JS: [a?.b…]
compiles to invalid JavaScript
#4260
Labels
Comments
Whoops, good catch... |
Minimal case:
|
GeoffreyBooth
changed the title
Syntax error in the compiled JavaScript
Apr 28, 2017
[a?.b…]
compiles to invalid JavaScript
GeoffreyBooth
changed the title
Invalid JS: May 6, 2017
[a?.b…]
compiles to invalid JavaScript[a?.b…]
compiles to invalid JavaScript
Either a duplicate or else very closely related to #1349. |
This was referenced Aug 16, 2017
GeoffreyBooth
added a commit
to GeoffreyBooth/coffeescript
that referenced
this issue
Aug 23, 2017
zdenko
pushed a commit
to GeoffreyBooth/coffeescript
that referenced
this issue
Aug 23, 2017
GeoffreyBooth
pushed a commit
that referenced
this issue
Aug 27, 2017
…sions (#4644) * fix splat error with soak properties or expressions * Add test based on #4260 * Add test based on #1349 * tests for the leading splat variant * test for spaced prefix ... * fixed 'if' statement in parens * fixed replacing 'void 0' with '[]' * remove 'void 0' replacement; add Splat::compileNode * Use LEVEL_OP; follow style better
Fixed by #4644. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found this today, below is the reduced code to reproduce this error on coffeescript.org.
The text was updated successfully, but these errors were encountered: