-
Notifications
You must be signed in to change notification settings - Fork 2k
f() in [] #1099
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
Comments
The second one is just an optimization issue, right? An unnecessary |
Pull request #1242 contains a fix. |
closed by 0497c07: instead of nothing, compile to false "if a in []" |
|
`not in []` unconditionally compiled to `false`
Any reason for this optimization? I'll make a PR to remove otherwise. Seems nonsensical. |
Whatever's the reason for this optimisation (avoid a call to the helper seems obvious), it clearly introduces bug (coco removed this optimisation totally). |
Let's just remove it, why would you ever want to write |
Go for it. That is quite silly indeed. |
Don't remove the optimisation for |
The text was updated successfully, but these errors were encountered: