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

Do not permit for-in ident to shadow outer scope decls #149

Merged
merged 1 commit into from
Jun 1, 2020

Conversation

benjaminkvm
Copy link
Contributor

@benjaminkvm benjaminkvm commented Jun 1, 2020

Closes #72.

Description

Do not permit for-in identifier declaration to shadow declarations in the outer scope. Corresponding test case included.

Update test cases that broke this rule.

@benjaminkvm benjaminkvm requested a review from turbolent as a code owner June 1, 2020 21:02
Copy link
Member

@turbolent turbolent left a comment

Choose a reason for hiding this comment

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

👌

@benjaminkvm benjaminkvm merged commit dc94101 into master Jun 1, 2020
@turbolent turbolent deleted the benjaminkvm/bugfix-loop-decl-shadowing branch August 25, 2020 22:21
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 this pull request may close these issues.

BUG: Variable Declarations are shadowed in for and while-loops
2 participants