-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Catching error when function decorated by decorator with overload #8246
Labels
addressed in next version
Issue is fixed and will appear in next published version
bug
Something isn't working
Comments
erictraut
added a commit
that referenced
this issue
Jun 27, 2024
… and `reportNoOverloadImplementation` errors when an overloaded decorator is applied to a non-overloaded function or method. This addresses #8246.
erictraut
added
the
addressed in next version
Issue is fixed and will appear in next published version
label
Jun 27, 2024
This is addressed in pyright 1.1.370 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
addressed in next version
Issue is fixed and will appear in next published version
bug
Something isn't working
pyright 1.1.369
python 3.11
Code for reproduce
Error from pyright
I found if change error_result=dict to error_result=lambda: {} that works fine.
The text was updated successfully, but these errors were encountered: