[erlang-bugs] Internal error in beam_dead when updating map created by bif
Ulf Norell
ulf.norell@REDACTED
Tue Mar 4 09:26:27 CET 2014
It doesn't seem to matter which bif is called.
-module(bug).
f(X) -> (binary_to_term(X))#{x => 0}.
$ erl
Erlang/OTP 17 [RELEASE CANDIDATE 2] [erts-6.0] [source-a74e66a] [64-bit]
[smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V6.0 (abort with ^G)
1> c(bug).
Function f/1 refers to undefined label 5
bug.erl: internal error in beam_dead;
crash reason: {case_clause,{'EXIT',{undefined_label,5}}}
in function compile:'-select_passes/2-anonymous-2-'/2 (compile.erl, line
493)
in call from compile:'-internal_comp/4-anonymous-1-'/2 (compile.erl, line
290)
in call from compile:fold_comp/3 (compile.erl, line 308)
in call from compile:internal_comp/4 (compile.erl, line 292)
in call from compile:'-do_compile/2-anonymous-0-'/2 (compile.erl, line
153)
bug.erl:2: Warning: function f/1 is unused
error
/ Ulf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20140304/ab3a86d8/attachment.htm>
More information about the erlang-bugs
mailing list