Replies: 1 comment
-
Argh, hm, I don't know besides using We may have to change the macros to split them up into 2. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
otel_meter.hrl uses some macros that all of this general form:
When those macros are use like
?counter_add('my.super.meter', 1, #{})
then dialyzer complains loudly about it with aThe pattern 'false' can never match the type 'true'
warning.obviously dialyzer is right in this case,
is_atom()
will always betrue
and the false case can never match.But the question is now, how to stop dialyzer complaining about this?
Beta Was this translation helpful? Give feedback.
All reactions