Bug with module_info in R10B-3
Dominic Williams
erlang-list@REDACTED
Mon Mar 21 22:16:58 CET 2005
Hello,
The following bug appeared sometime after R9C, and is at
least present in R10B-3 under Windows XP: when recompiling a
modified module, its old exports appear to be kept by
module_info.
E.g., after compiling test.erl:
-----------------
-module(test).
-export([foo/0]).
foo() -> ok.
-----------------
test:module_info(exports) returns
[{foo,0},{module_info,0},{module_info,1}]
After modifying and recompiling test.erl thus:
-----------------
-module(test).
-export([bar/0]).
bar() -> ok.
-----------------
test:module_info(exports) now returns
[{foo,0},{bar,0},{module_info,0},{module_info,1}]
Regards,
Dominic, on behalf of the www.xpdojo.org team.
More information about the erlang-bugs
mailing list