Self
as return type annotation in overloads
raises error
#14641
Labels
Self
as return type annotation in overloads
raises error
#14641
Bug Report
Self
as return type annotation inoverloads
raises error.To Reproduce
Expected Behavior
No error.
Actual Behavior
pyright
doesn't raise an error.Old-style
Self
approach works as expected:Your Environment
mypy.ini
(and other config files):The text was updated successfully, but these errors were encountered: