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

[BUG] No block-scope makes bug when using nested foreach-stmt #40

Closed
mu001999 opened this issue Jan 4, 2021 · 0 comments · Fixed by #41
Closed

[BUG] No block-scope makes bug when using nested foreach-stmt #40

mu001999 opened this issue Jan 4, 2021 · 0 comments · Fixed by #41
Labels

Comments

@mu001999
Copy link
Collaborator

mu001999 commented Jan 4, 2021

For example:

foreach [1, 2] as i, foreach [2, 3] as j, { print(i); print(j); }();

The output is 1213 instead of 12132223.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant