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 issue with constant expression #117

Merged
merged 1 commit into from
Sep 27, 2020
Merged

Fix issue with constant expression #117

merged 1 commit into from
Sep 27, 2020

Conversation

udoprog
Copy link
Collaborator

@udoprog udoprog commented Sep 27, 2020

Turns out constant expressions are not using their scope correctly when referencing local variables. This leads to declaring a new variable, instead of mutating an old one, causing the example script to run out of budget.

@udoprog udoprog added the bug Something isn't working label Sep 27, 2020
@udoprog udoprog merged commit dfae0d6 into master Sep 27, 2020
@udoprog udoprog deleted the fix-const-expr branch September 27, 2020 15:01
@udoprog udoprog added the changelog Issue has been added to the changelog label Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working changelog Issue has been added to the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant