-
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
Lexer: SyntaxError: unexpected nonexistent (
#4283
Comments
The My guess is that the token comes from here. Passing the |
This code The |
@anodynos Yes, the code has a syntax error. The issue is with the error message. |
@lydell yes, that seems to be the solution |
@1j01 The error message actually comes from CoffeeScript right, not the compiled JavaScript? (For anyone not able to test it themselves, if this issue is still not fixed) |
@YoYoYonnY Yes, it's from CoffeeScript.
|
(
…t_call Fix #4283: error message for implicit call
When missing a comma in an object literal, you get
SyntaxError: unexpected (
even though there's no parentheses.From what I know of how CoffeeScript works, it's inserting a parenthesis for a function call to
contacts
making for the terrible error message.(So I ended up looking for an extra parenthesis somewhere in some file.)
This is fixed in redux. Is there a path for fixing problems like this that come from the rewriter?
The text was updated successfully, but these errors were encountered: