-
Notifications
You must be signed in to change notification settings - Fork 15
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
Unexpected failure in foreach statement #72
Comments
It should be the same, yes. If you set
What do you think? It seems like there's an obvious benefit, but the reason I haven't enabled it by default already is that I haven't taken the time to examine the possible downsides. It definitely hides unused variables and I wonder if that's something that could be problematic for some code. |
It'd make sense to me to enable Similarly, I also had to enable |
I mean, there's Let me work up a PR and we'll see what that looks like.
That's a good point and not one I've seen mentioned a lot, but it could probably help more people to have that on be default as well. |
Ah, good point. Even so, I think this is one of those border areas (i.e. there's a reasonable explanation for an unused variable). |
In this statement,
$v
is flagged as unused. I guess this is the same as #65?The text was updated successfully, but these errors were encountered: