Value of type "Type[type]" is not indexable
error inside reveal_type(type[type])
#13026
Labels
bug
mypy got something wrong
false-positive
mypy gave an error on correct code
topic-pep-585
PEP 585 (builtin generics)
When
type[type]
is used insidereveal_type()
i getValue of type "Type[type]" is not indexable
error:Expected Behavior
I expect behavior similar to this example:
So i expect this:
My Environment
mypy 0.961 (compiled: no)
CPython 3.10.4
The text was updated successfully, but these errors were encountered: