False-positive inconsistent overload with TypeVar and Union #1808
Labels
bug
Something isn't working
fixed in next version (main)
A fix has been implemented and will appear in an upcoming version
Environment data
Expected behaviour
no error
Actual behaviour
Logs
--
Code Snippet / Additional information
Mypy output
An error also occurs when changing the TypeVar definition to
Interestingly though, this seems to be fine:
The text was updated successfully, but these errors were encountered: