function_exported/3 and CT

José Valim jose.valim@REDACTED
Thu Nov 14 20:34:01 CET 2019


It is probably related to the module being loaded? function_exported/3 does
not load modules and will return false if the module has not been loaded
yet. Something in rebar3 lifecycle may be loading it under certain
circumstances. Try calling code:ensure_loaded/1 before function_exported
and see if the behavior becomes consistent.--


*José Valim*
www.plataformatec.com.br
Founder and Director of R&D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20191114/55fc3ba5/attachment.htm>


More information about the erlang-questions mailing list