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
{{ message }}
Repository navigation
Overloaded deprecated method use is not reported #18474
(.venv) ~/Desktop/mypy master ✗
» gh pr checkout 18333
» mypy ex.py
ex.py:5: error: An overloaded function outside a stub file must have an implementation [no-overload-impl]
ex.py:11: error: overload def () of function ex.func is deprecated: reason1 [deprecated]
ex.py:14: error: An overloaded function outside a stub file must have an implementation [no-overload-impl]
Activity
sobolevn commentedon Jan 15, 2025
cc @tyralla who solved similar problems.
tyralla commentedon Jan 15, 2025
Strange. I will have a look at it. Thanks for reporting!
Viicos commentedon Jan 15, 2025
Is it fixed by #18333, by any chance?
sobolevn commentedon Jan 15, 2025
Nope :(
Using the same gist:
PEP 702 (@deprecated): "normal" overloaded methods
PEP 702 (@deprecated): "normal" overloaded methods (python#18477)
PEP 702 (@deprecated): "normal" overloaded methods (python#18477)