compiler bug

Martin Bjorklund mbj@REDACTED
Wed Aug 16 12:09:57 CEST 2006

I found this compiler bug, in R10B-10 and R11B-0.

nassa otp_src_R11B-0> bin/erlc ~/src/w.erl
Function -w/0-fun-2-/1 refers to undefined label 11
/home/mbj/src/w.erl:none: internal error in beam_clean;
crash reason: {{case_clause,{'EXIT',{undefined_label,11}}},

And the file:


w() ->
    G = fun() -> ok end,
	fun() -> ok end
	fun({A, B}) -> A + B end


More information about the erlang-questions mailing list