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

fix no_call, no_debug_call and invalid_dynamic_call rules #154

Open
tothlac opened this issue May 13, 2019 · 0 comments
Open

fix no_call, no_debug_call and invalid_dynamic_call rules #154

tothlac opened this issue May 13, 2019 · 0 comments
Labels

Comments

@tothlac
Copy link

tothlac commented May 13, 2019

They work only without defines. If I have this in the code:

-define(DBG(Fmt, Args), io:format(Fmt, Args)).
-define(CALL(M, F, A), M:F(A)).

f() ->
   ?DBG("oyh~s", ["veyh"]),
   ?CALL(el, iyahu, []).

it won't be able to find the no_call and invalid_dynamic_call violations.

@elbrujohalcon elbrujohalcon transferred this issue from inaka/elvis Jan 7, 2021
@elbrujohalcon elbrujohalcon added this to the eventually 🙄 milestone May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants