Skip to content
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

{} = a() compiles to false; #1274

Closed
thejh opened this issue Apr 9, 2011 · 2 comments
Closed

{} = a() compiles to false; #1274

thejh opened this issue Apr 9, 2011 · 2 comments

Comments

@thejh
Copy link
Contributor

thejh commented Apr 9, 2011

{} = a()

compiles to
false;
which is bad if a() has side effects. I'd propose to compile it to
a();

@michaelficarra
Copy link
Collaborator

Verified. Same effects in [] = a().

@satyr
Copy link
Collaborator

satyr commented Apr 9, 2011

#1103

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants