Strange behavior when superclass is an unknown argument #1069
Labels
bug
mypy got something wrong
false-positive
mypy gave an error on correct code
priority-1-normal
topic-inheritance
Inheritance and incompatible overrides
Forking this issue from #1067. Example:
Neither error goes away when I annotate the 'cls' argument as having type 'Any'. Also interesting: this gives the same two errors:
but here annotating 'cls' as type 'Any' does make the errors disappear.
The text was updated successfully, but these errors were encountered: