-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 crash when using enumerate
in a ternary expression
#7132
Fix crash when using enumerate
in a ternary expression
#7132
Conversation
Pull Request Test Coverage Report for Build 2616547858
π - Coveralls |
): | ||
inferred = next(assign.iter.args[0].infer()) | ||
likely_call = assign.iter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coincidentally, this could be done with a ternary π
But we never use those!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like Daniel wouldn't be a fan of this checker : #4871 π
π€ According to the primer, this change has no effect on the checked open source code. π€π This comment was generated for commit 3170d32 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π
Type of Changes
Description
Closes #7131