[erlang-patches] Allow the source to be set when compiling forms

José Valim <>
Fri Mar 23 15:00:56 CET 2012

Here is a patch that allows compile:forms() to receive a source option that
specifies the source value returned by module_info(compile).
Currently, there is no way to set the source and Erlang ends up setting the
source to the current directory.

git fetch git://github.com/josevalim/otp.git forms-source


The patch includes code, tests and docs changes.

For more information, the initial discussion in Erlang Questions mailing
list: http://erlang.org/pipermail/erlang-questions/2012-March/065361.html


José Valim
Founder and Lead Developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20120323/47bcf489/attachment.html>

More information about the erlang-patches mailing list