You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixeserlang#7181.
Functions in Erlang have a max arity of 255 (see
https://www.erlang.org/doc/reference_manual/typespec.html), so
`is_function(Foo, 999)` will always fail, and obviously no function can
have negative arity so `is_function(Foo, -100)` will also always fail.
This patch just teaches dialyzer to deal with such obviously wrong code
in a more graceful manner (i.e. without crashing).
Describe the bug
Running dialyzer on the following:
results in the following error:
Affected versions
master
Additional context
Here is an alternate test case that seems to trigger the same bug:
The text was updated successfully, but these errors were encountered: