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

Turn off transformation for closures inside loops. #6480

Merged
merged 1 commit into from
May 1, 2024

Conversation

cristianoc
Copy link
Collaborator

The scope of var is per-function, requiring a transformation for closures inside loops when capturing loop variables. This PR turns off the transformation.
This PR should go after #6102

@cristianoc cristianoc added this to the v12 milestone Nov 9, 2023
@cristianoc cristianoc changed the base branch from master to let November 9, 2023 09:41
@cristianoc
Copy link
Collaborator Author

Tests look fine after rebasing on top of #6102

The scope of `var` is per-function, requiring a transformation for closures inside loops when capturing loop variables.
This PR turns off the transformation.
Copy link
Member

@cknitt cknitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@cknitt cknitt merged commit cfed01f into master May 1, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants