-
Notifications
You must be signed in to change notification settings - Fork 223
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
Reference being missed for symbol used in "cons" syntax #2112
Comments
I think myNumber is actually not in occurrences.
|
Ah true, sorry I misread that then. In that case, do you think this should stay here or be better transferred to scalameta? |
~~> scalameta/scalameta |
Looked at this one recently and it seems we need to fix it in the Scala compiler itself. The names of those occurrences are wrong coming from the compiler. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When renaming a symbol that is being being used to create a list with cons syntax, or trying to find a reference for a symbol that is being used to create with cons syntax, the reference is missed.
If I try to trigger either a rename or a find references at the
@@
position, it will neither find nor rename the other two occurrences ofmyNumber
.To Reproduce
Steps to reproduce the behavior:
@@
would be or a find referencesExpected behavior
I would expect the rename to rename the other two occurrences, and I'd expect a find references to also show the two references.
Installation:
0.9.3+63-1c4ba22a-SNAPSHOT
Additional context
I did check to see if there were correctly captured in scalameata, and it doesn't look like they are.
look like they are, which points towards us missing something on the metals side.Search terms
rename, find references
The text was updated successfully, but these errors were encountered: