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

Remove fragile heuristics from editable_range #1126

Merged
merged 1 commit into from
Oct 31, 2021

Conversation

gomoripeti
Copy link
Contributor

No description provided.

Start = get_start_location(Tree),
CallbackAnno = erl_anno:set_location(Start, Anno),
[poi(CallbackAnno, callback, {F, A})];
[poi(Pos, callback, {F, A},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the range of the callback POI is now the full form (same way as for type_definition and spec)

@robertoaloi
Copy link
Member

Nice cleanup, thanks!

@robertoaloi robertoaloi merged commit 05ebd3e into erlang-ls:main Oct 31, 2021
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.

2 participants