This rule is causing confusion, it collides with unused function params which are detected by the compiler.
The rationale of the rule won’t change, but we can turn its name and warning message more comprehensive:
The rule name can turn to: unnecessary_function_argument
And the warning message to: fun/4 doesn’t need it’s #4 argument
This rule is causing confusion, it collides with unused function params which are detected by the compiler. The rationale of the rule won’t change, but we can turn its name and warning message more comprehensive:
The rule name can turn to:
unnecessary_function_argument
And the warning message to:fun/4 doesn’t need it’s #4 argument