-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
new union syntax (types.Union
) doesn't work on generic bounds
#10949
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
Labels
Comments
types.Union
) doesn't work on generic bounds
Thanks, repros on latest master (in general, latest master has fixes for several PEP 604 issues at runtime) |
seems to be working now on master. assuming #11140 fixed it |
Thanks for checking! If you're up for a it, a PR adding a test would be very welcome! |
@hauntsaninja here you go #11431 |
hauntsaninja
pushed a commit
that referenced
this issue
Nov 3, 2021
tushar-deepsource
pushed a commit
to DeepSourceCorp/mypy
that referenced
this issue
Jan 20, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
https://mypy-play.net/?mypy=latest&python=3.10&flags=show-column-numbers%2Cshow-error-codes%2Cstrict%2Ccheck-untyped-defs%2Cdisallow-any-decorated%2Cdisallow-any-expr%2Cdisallow-any-explicit%2Cdisallow-any-generics%2Cdisallow-any-unimported%2Cdisallow-incomplete-defs%2Cdisallow-subclassing-any%2Cdisallow-untyped-calls%2Cdisallow-untyped-decorators%2Cdisallow-untyped-defs%2Cwarn-incomplete-stub%2Cwarn-redundant-casts%2Cwarn-return-any%2Cwarn-unreachable%2Cwarn-unused-configs%2Cwarn-unused-ignores&gist=e32e412ddf26892faaadcf3bda061ad6
The text was updated successfully, but these errors were encountered: