[erlang-questions] Setting the proper source in a module compiled via compile:forms
Thu Mar 22 19:31:09 CET 2012
I am using compile:forms() to compile some forms and return me the binary.
After I load the binary, I can access my code as expected, except the
mymodule:module_info(:compile) returns the wrong source:
It seems it is returning my PWD as source. To fix the issue, I have already
And passing a source option to compile:forms(). None of those worked.
Does anyone know if there an attribute/option I can pass so Erlang will
return the proper source?
Thanks in advance,
Founder and Lead Developer
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions