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

Compiler: fix bug related to closured var not considered as such #8587

Closed
wants to merge 1 commit into from

Conversation

asterite
Copy link
Member

Hopefully fixes #5609

This one got me again in Advent of Code so I decided it's to fix it for me and for everyone.

I say "hopefully" because I think the fix is correct and I didn't have time to run the entire spec suit locally, but CI will have the final word.

@asterite asterite added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler:semantic labels Dec 16, 2019
@asterite
Copy link
Member Author

Nah, it's bad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler:semantic
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect behaviour when capturing var and changing it in a loop
1 participant