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 broken foreach variable identification #36

Merged
merged 5 commits into from
Feb 13, 2018
Merged

Conversation

sirbrillig
Copy link
Owner

This fixes a major bug introduced in #35 in which variables defined in code
after a foreach statement were incorrectly considered to be declared by that
foreach statement.

Fixes #33 again

@sirbrillig
Copy link
Owner Author

I fixed the major issue, but one of the new unused variables I introduced in the fixture is still not being caught.

We need to fix the major bug here and this is relatively minor.
@sirbrillig sirbrillig merged commit a5a01ba into master Feb 13, 2018
@sirbrillig sirbrillig deleted the fix/foreach-prob-2 branch February 13, 2018 20:22
@sirbrillig
Copy link
Owner Author

Remaining bug is being tracked in #37

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

Successfully merging this pull request may close these issues.

Variable declaration via list inside foreach not recognized
1 participant