-
Notifications
You must be signed in to change notification settings - Fork 17
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
‘Ignored variable is being used’ reported for non-variables #26
Comments
@elbrujohalcon do we need to update katana for this? If katana could show that this is a macro it would be easier to fix this in elvis_core I think... |
@JohanVikman probably, since the code seems to be already verifying that it's in fact a variable here. |
This is still a problem on the current masters of elvis and elvis_config. |
After adding a test that tries to parse all OTP .erl files, there were some issues found with some modules. These issues are addressed by either ignoring unparsable code and/or replacing it with dummy values.
[#26] Drop aleppo and use a forked epp_dodger
First off, thanks for Elvis! It’s a great tool for keeping an eye on code quality.
The is_ignored_var check apparently reports this macro call as a ignored variable as well:
Can the check be adapted to exclude macros?
The text was updated successfully, but these errors were encountered: