float
and complex
forcibly change invariant types to covariant
#18257
Labels
bug
mypy got something wrong
The following example illustrates the issue, and how fixing it will give rise to an important use-case.
mypy playground
huh, what's going on with the syntax highlighting?
The text was updated successfully, but these errors were encountered: