-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix FP for used-before-assignment
when reimporting name used in type annotation
#8095
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
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #8095 +/- ##
=======================================
Coverage 95.46% 95.46%
=======================================
Files 176 176
Lines 18542 18542
=======================================
Hits 17701 17701
Misses 841 841
|
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.
π
This comment has been minimized.
This comment has been minimized.
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.
Would it make sense to add the issue's exact example as a test case?
Co-authored-by: Mark Byrne <[email protected]>
Open to different views here. I generally think that if we can fold it into the existing cases, it reduces bloat. I verified that this change fails before the fix. But I also understand the viewpoint that original cases should be added (as long as sufficiently small). |
π€ According to the primer, this change has no effect on the checked open source code. π€π This comment was generated for commit 0ccf733 |
Type of Changes
Description
Closes #7882