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

[feat] Loosen find_references #831

Merged
merged 1 commit into from
Oct 28, 2024
Merged

[feat] Loosen find_references #831

merged 1 commit into from
Oct 28, 2024

Conversation

scohen
Copy link
Collaborator

@scohen scohen commented Oct 7, 2024

Prior, find references would take the arity into account. This was because in elixir, a function is defined by its name and its arity. However in practice, you more than not want to see a all the calls of a function with a given name rather than a specific head. This is especially true for functions with default arguments.

As a result, this change looks for functions with a given name and any arity.

Prior, find references would take the arity into account. This was
because in elixir, a functin is defined by its name and its
arity. However in practice, you more than not want to see a all the
calls of a function with a given name rather than a specific
head. This is especially true for functions with default arguments.

As a result, this change looks for functions with a given name and any arity.
@scohen scohen merged commit cda5742 into main Oct 28, 2024
12 checks passed
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