False-positive due to missing type narrowing in isinstance
of TypeVar
#15235
Labels
bug
mypy got something wrong
topic-type-narrowing
Conditional type narrowing / binder
topic-type-variables
isnistance
on aTypeVar
ed variabled does not correctly narrow the type.To Reproduce
Expected Behavior
No error
Actual Behavior
Your Environment
mypy 1.3.0 (compiled: yes)
mypy.ini
(and other config files): Nonepython bug,py
:The text was updated successfully, but these errors were encountered: