generic is incorrectly inferred as invariant if class uses Self
type on an attribute
#18334
Labels
bug
mypy got something wrong
Self
type on an attribute
#18334
playground
The text was updated successfully, but these errors were encountered: