-
Notifications
You must be signed in to change notification settings - Fork 176
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
Add references support for instance variables #2787
Add references support for instance variables #2787
Conversation
I have signed the CLA! |
This pull request is being marked as stale because there was no activity in the last 2 months |
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.
This looks and we can ship. For some reason though, CI seems to be stuck and won't run. I also can't seem to trigger it manually for whatever reason. Could you please try rebasing this branch to trigger CI again?
Regarding the discussion in the issue, ideally we would use our type inferrer to narrow instance variable references only to the ones that actually refer to the same one. Would you be interested in tackling that in another PR? If not, I'll create an issue for it.
We'd essentially need to require the type inferrer to be passed to the references finder and then we need to ensure that the receiver type of the instance variables match the one the user clicked on.
1d9d2cb
to
b8506f6
Compare
Yeah I'd love to give it a shot! |
Awesome! It should be something along these lines:
Don't hesitate to reach out if you have doubts! |
Motivation
Closes #2641
Implementation
Add references support for instance variables.
Manual Tests