-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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 "need type type annotation" with contextmanager #11704
Labels
Comments
JukkaL
added
bug
mypy got something wrong
priority-0-high
false-positive
mypy gave an error on correct code
labels
Dec 10, 2021
JukkaL
added a commit
that referenced
this issue
Dec 13, 2021
We didn't infer constraints from the return type. Fixes #11704.
JukkaL
added a commit
that referenced
this issue
Dec 15, 2021
We didn't infer constraints from the return type. Fixes #11704.
tushar-deepsource
pushed a commit
to DeepSourceCorp/mypy
that referenced
this issue
Jan 20, 2022
…n#11725) We didn't infer constraints from the return type. Fixes python#11704.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
This generates a false positive in
g
:This is a regression so it's high priority. It was introduced by me in #11594.
The text was updated successfully, but these errors were encountered: