[erlang-bugs] funs and code loading don't always behave as expected
Thu Jun 14 07:20:01 CEST 2007
Matthias Lang <> writes:
> A guess, based on a quick look at beam_load.c and erl_fun.c: the root
> cause is that a fun with the same hash as an existing fun will always
> overwrite the existing fun on code load. I.e. the "is the hash the
> same" test is too weak. But that is just a guess.
Yes, that is correct.
We hope to have a solution for this problem in R12B (a stronger way of
Björn Gustavsson, Erlang/OTP, Ericsson AB
More information about the erlang-bugs