|
|
| Author |
Message |
|
| erlang-list at dominicwil |
Posted: Mon Mar 21, 2005 9:27 pm |
|
|
|
Guest
|
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.
Post generated using Mail2Forum (http://m2f.sourceforge.net) |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|