LiteralString
should not be compatible with str
in an invariant context
#16169
Labels
bug
mypy got something wrong
Consider the following code sample.
I just fixed a related bug in pyright.
Mypy version 1.5.1
The text was updated successfully, but these errors were encountered: