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

{xref_ignores} now properly works on module, #2497

Merged
merged 3 commits into from
Jun 10, 2021

Conversation

acw224
Copy link
Contributor

@acw224 acw224 commented Feb 12, 2021

by correctly removing warning about functions.

Summary: Before, the xref_ignores would not properly ignores functions warning on specified modules. That is,
for instance, even though {xref_ignores, [ModName,...]} would be in rebar3.config, unassigned function calls
to and from the ModName module would be displayed.

This was due to a mismatch between the format of the ignore (a module name), and the format of the
warning ({MFA, MFA} or MFA) emitted by xref.

…unction calls.

Summary: Before, the xref_ignores would properly ignores function calls on specified modules. That is,
even though {xref_ignores, [ModName,...]} would be in rebar3.config, those unassigned function calls
to and from the ModName module would be displayed.

This was due to a mismatch between the format of the ignore (a module name), and the format of the
warning ({MFA, MFA} or MFA) emmited by xref.
@ferd
Copy link
Collaborator

ferd commented Feb 12, 2021

@ferd ferd added the awaiting update requiring action from submitter label May 12, 2021
acw224 and others added 2 commits June 10, 2021 10:41
…unction calls.

Summary: Before, the xref_ignores would properly ignores function calls on specified modules. That is,
even though {xref_ignores, [ModName,...]} would be in rebar3.config, those unassigned function calls
to and from the ModName module would be displayed.

This was due to a mismatch between the format of the ignore (a module name), and the format of the
warning ({MFA, MFA} or MFA) emmited by xref.
@acw224
Copy link
Contributor Author

acw224 commented Jun 10, 2021

Tests added.

@ferd ferd merged commit ee12ac2 into erlang:master Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting update requiring action from submitter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants