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
a.py:4: error: An overloaded function outside a stub file must have an implementation [no-overload-impl]
a.py:15: error: Name "chunks" already defined on line 4 [no-redef]
Your Environment
Mypy version used: 1.9.0
Mypy command-line flags:
Mypy configuration options from mypy.ini (and other config files):
Bug Report
TypeVar
after overload cause mypy raise a warning about missing impl and redef(A clear and concise description of what the bug is.)
To Reproduce
Expected Behavior
should not report errors
Actual Behavior
a.py:4: error: An overloaded function outside a stub file must have an implementation [no-overload-impl]
a.py:15: error: Name "chunks" already defined on line 4 [no-redef]
Your Environment
mypy.ini
(and other config files):The text was updated successfully, but these errors were encountered: