Mypy disallows overriding a generic type attribute with a property #18189
Labels
bug
mypy got something wrong
topic-inheritance
Inheritance and incompatible overrides
topic-type-variables
Bug Report
If I have a generic class with an attribute of a generic type, when creating a concrete subclass, overriding that attribute with a correctly typed property raises an error. Similar to #4125
To Reproduce
Actual Behavior
Your Environment
mypy.ini
(and other config files): -The text was updated successfully, but these errors were encountered: