Skip to content
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

[#1337] Make goto variable definition respect list comprehension scopes #1403

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

plux
Copy link
Contributor

@plux plux commented Nov 8, 2022

Description

Make goto variable definition respect list comprehension scopes.

Fixes #1337 .

]
}
},
%% four: FIXME: Bug, shouldn't rename Var inside second LC
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still at least one corner case to fix, leaving that for the future.

@plux plux force-pushed the improve-goto-var-definition-inside-lc branch from a01bdb9 to 353e820 Compare December 20, 2023 23:41
@plux plux merged commit 45dbe5e into erlang-ls:main Dec 21, 2023
5 checks passed
shuying2244 pushed a commit to shuying2244/erlang_ls that referenced this pull request Dec 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Go-to-definition for variables behaves incorrectly
1 participant