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
?= compilation #1216
Labels
Comments
|
Yes, |
Working on this now. |
geraldalewis
added a commit
to geraldalewis/coffee-script
that referenced
this issue
May 10, 2011
michaelficarra
added a commit
that referenced
this issue
May 11, 2011
geraldalewis
added a commit
to geraldalewis/coffee-script
that referenced
this issue
May 11, 2011
…mantics while prettying the compiled output
geraldalewis
added a commit
to geraldalewis/coffee-script
that referenced
this issue
May 11, 2011
Gerald's new fix for this is merged to master. |
Thanks @jashkenas :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently,
a=0; a ?= b
compiles toI propose changing the last line to
a != null || (a = b);
orif(a == null) a = b;
(no preference here) when its value goes unused like this.The text was updated successfully, but these errors were encountered: