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

fix: compile incrementors in for loops within the initializer's flow #2826

Merged
merged 1 commit into from
Apr 2, 2024

Commits on Mar 12, 2024

  1. Compile incrementors in for loops within the initializer's flow

    It turns out that incrementors were compiled with the body's flow, which
    meant that the incrementor had access to local variables declared in the
    body. Now, incrementors no longer have access to such variables.
    
    Fixes AssemblyScript#2825.
    CountBleck committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    b7afa67 View commit details
    Browse the repository at this point in the history