You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: Overloaded function implementation cannot satisfy signature 1 due to inconsistencies in how they use type variables [misc]
pyright 1.1.403 does not raise an error.
It seems reasonable to me to allow this pattern, which is why I am opening this as a bug report.
If this is in fact desired behaviour, I would be very grateful for an explanation and, if possible, a suggested alternative pattern (I'm a bit desperate!).
Actual Behavior
Your Environment
Mypy version used: 1.16.0 (but have also repeated on 1.17.1)
Mypy command-line flags: just mypy (from a clean environment I pip installed mypy and then ran `mypy on the script above)
Mypy configuration options from mypy.ini (and other config files): None
Activity