Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Incorrect if block scope #55

Closed
dalance opened this issue Jan 4, 2023 · 0 comments
Closed

Incorrect if block scope #55

dalance opened this issue Jan 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@dalance
Copy link
Collaborator

dalance commented Jan 4, 2023

Currently, the following code causes duplicated identifier error.
Each claure of if declaration should have independent scope.

if a ==1 :label {
    let a: logic;
} else {
    let a: logic;
}
@dalance dalance added the bug Something isn't working label Jan 4, 2023
dalance added a commit that referenced this issue Jan 31, 2023
@dalance dalance closed this as completed Jan 31, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant