[erlang-questions] problems with rebar3 releases and on_load functions

Gleb Vinogradov g.a.vinogradov@REDACTED
Thu Oct 11 12:12:37 CEST 2018


чт, 11 окт. 2018 г. в 17:06, Caragea Silviu <silviu.cpp@REDACTED>:

>
> Also it's strange because if I change do_not_load() to return ok it's
> working :)
>
>
Nothing strange at all. It's documented behaviour:
http://erlang.org/doc/reference_manual/code_loading.html
"The function must return ok if the module is to become the new current
code for the module and become callable. "

Gleb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20181011/29ef05ce/attachment.htm>


More information about the erlang-questions mailing list