2 Jun 2012 17:23
possible bug in package loading
Eric Merritt <ericbmerritt <at> gmail.com>
2012-06-02 15:23:19 GMT
2012-06-02 15:23:19 GMT
I realize that packages are not technically supported. However, I ran across a rather ugly (possible) bug that, as long as packages are in the language, should probably be resolved. The bug is this. Lets say you have a bin dir at /some/directory/structure/ebin and you have packages under this, say package foo.shell. If you accidentally set your package to some/directory/structure/ebin/foo the code loader dies saying =ERROR REPORT==== 2-Jun-2012::10:17:17 === beam/beam_load.c(1250): Error loading module shell: module name in object code is foo.shell Technically I can see why this is an issue. However, I suspect it can be handled better then it currently is. Eric _______________________________________________ erlang-bugs mailing list erlang-bugs <at> erlang.org http://erlang.org/mailman/listinfo/erlang-bugs
RSS Feed