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

Find references for extension methods #3376

Merged
merged 1 commit into from
Mar 22, 2023

Conversation

Rawi01
Copy link
Collaborator

@Rawi01 Rawi01 commented Mar 20, 2023

This PR fixes #3373

To find references eclipse uses an index that is based on method parameters. A extension method definition always has one parameter more than the reference. To find all matching methods the patch modifies the search pattern to always assume varargs. The search logic removes non-matching methods in a later step.

There might be some unintended side effects...

@dstango
Copy link

dstango commented Mar 20, 2023

thank you for quickly taking care of the issue! :-)

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.

[BUG] Eclipse doesn't find usages of extension-methods in "find references" nor rename-refactoring
3 participants