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: Incompatible types in assignment (expression has type "tuple[str, dict[str, int]]", variable has type "tuple[Literal['arg_int'], int] | tuple[Literal['arg_str'], str] | tuple[Literal['arg_dict'], MyDict]") [assignment]
Found 1 error in 1 file (checked 1 source file)
Your Environment
Mypy version used: 1.9.0
Mypy command-line flags: none
Mypy configuration options from mypy.ini (and other config files): none
Python version used: 3.11.8
Also tryed with mypy playground with all latest versions and got the same result.
The text was updated successfully, but these errors were encountered:
Bug Report
mypy
reports error where it is not suppose to.To Reproduce
Expected Behavior
No error is expected in this case.
Actual Behavior
The following error is reported:
Your Environment
mypy.ini
(and other config files): noneAlso tryed with mypy playground with all latest versions and got the same result.
The text was updated successfully, but these errors were encountered: