You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, the problem is in is_equivalent function result
It validates two TypeVarTypes, that contains TypeVarId differs by namespace. They has A and B classes values, but seems like the correct one is C or str
Bug Report
If we creates multiple generic parents with the same generic attribute, mypy raises an error about incompatible definition
To Reproduce
Raises
error: Definition of "x" in base class "A" is incompatible with definition in base class "B" [misc]
Expected Behavior
The example should has no error, like in the final types case
Actual Behavior
Raises an error
Your Environment
mypy==1.14.0
The text was updated successfully, but these errors were encountered: