-
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
Brace-less Object Literal as a Second Operand on a New Line #2549
Comments
The same result also occurs in this issue, in Satyr's last comment when using \ after return. |
It's caused by a combination of little-known features such as newline-suppression, indebt/outdebt, and inline-implicit-object-rule (#1871). Fun stuff. |
Seems to work in coco thanks to void assignment tho.
|
|
Fixed now on master, thanks to @troels. Enjoy. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I know this is similar to quite a few other tickets, but I couldn't find this particular one:
What I find the worst is that this is not even an error, just a very silent bug:
I ran into this when playing with 'contracts'.
The text was updated successfully, but these errors were encountered: