Unexpected "Type application has too many types" #12966
Labels
bug
mypy got something wrong
topic-pep-585
PEP 585 (builtin generics)
topic-pep-604
PEP 604 (union | operator)
topic-type-alias
TypeAlias and other type alias issues
Bug Report
I'm not sure if this is related to #12211, but I have this simple example:
...which fails.
To Reproduce
Run the above using
mypy --strict alias.py
.I tried both 0.961 and 0.970-dev using Python 3.10.5. I get these errors:
Your Environment
This was run on Ubuntu 22.04, Python 3.10.5, and mypy 0.961 and 0.970-dev
The text was updated successfully, but these errors were encountered: