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

Frog generates non-working code for multiple closures over one mutable variable. #531

Closed
rakudrama opened this issue Nov 19, 2011 · 3 comments
Labels
closed-not-planned Closed as we don't intend to take action on the reported issue web-dart2js

Comments

@rakudrama
Copy link
Member

This happens only in loops (reentrant nested scopes).

See test case: http://codereview.chromium.org/8602013/

@jmesserly
Copy link

BTW, I think this happens any time you mutate something after capturing it.
Yeah, we need to be lifting binding against a scope object that we create to hold mutable captures, rather than binding to the values.

@anders-sandholm
Copy link
Contributor

Removed Area-Frog label.
Added Area-Dart2JS, FromAreaFrog labels.

@kasperl
Copy link

kasperl commented Jun 11, 2012

Added WontFix label.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-not-planned Closed as we don't intend to take action on the reported issue web-dart2js
Projects
None yet
Development

No branches or pull requests

5 participants