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
OTP25 introduced a new attribute to identify functions overridden by nifs: -nifs(…)..
Hank currently identifies them by their calls to erlang:nif_error/2.
Describe the solution you'd like
I would like Hank to stop inferring which functions are overridden by nifs and just use -nifs(…) to figure that out.
Describe alternatives you've considered
Hank might keep also inferring the overrides by checking erlang:nif_error/2 but I think it's better to enforce good practices and get devs to include -nifs(…) in their modules, even if they just do it to silence Hank's warnings.
The text was updated successfully, but these errors were encountered:
OTP25 introduced a new attribute to identify functions overridden by nifs:
-nifs(…).
.Hank currently identifies them by their calls to
erlang:nif_error/2
.Describe the solution you'd like
I would like Hank to stop inferring which functions are overridden by nifs and just use
-nifs(…)
to figure that out.Describe alternatives you've considered
Hank might keep also inferring the overrides by checking
erlang:nif_error/2
but I think it's better to enforce good practices and get devs to include-nifs(…)
in their modules, even if they just do it to silence Hank's warnings.The text was updated successfully, but these errors were encountered: