-
-
Notifications
You must be signed in to change notification settings - Fork 22.8k
Fix lookup symbol for super()
#108306
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
base: master
Are you sure you want to change the base?
Fix lookup symbol for super()
#108306
Conversation
def74d7
to
61e6789
Compare
dddda6b
to
1c59c85
Compare
1c59c85
to
67aef7a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright you have convinced me. Let's add a new context type for super
. The fact that we need different lookup depending on whether it is a call makes this pretty much impossible to solve without parser changes.
Should have some test. We don't have a specific test suite for lookup AFAIK, but the LSP test suite uses lookup under the hood. So we should add a supper call in one of those test cases. |
eda6e35
to
9ce6f4e
Compare
9ce6f4e
to
c232b7c
Compare
Done.. I think. Check it up. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code and tests look good to me.
Uh oh!
There was an error while loading. Please reload this page.