Compiler bug?

Bjorn Gustavsson <>
Thu Feb 20 10:31:02 CET 2003


Thanks for the bug report.

I agree that the compiler should not crash whatever input you give it.

The bug will be fixed in the next major OTP release.

/Bjorn

"Erik Reitsma (ETM)" <> writes:

> Hi,
> 
> Because of a silly typo I stumbled onto what seems to be a bug in the compiler. The compiler crashes on the following module:
> ------------
> -module(t).
> 
> -export([a/0]).
> 
> a() ->
>     .list_to_atom("ok").
> ------------
> I get an internal error in beam_clean, with a case_clause.
> I know that this should not compile, but I would expect a nicer error message.
> 
> *Erik.
> 

-- 
Björn Gustavsson            Ericsson Utvecklings AB
      ÄT2/UAB/F/P
			    BOX 1505
+46 8 727 56 87 	    125 25 Älvsjö



More information about the erlang-questions mailing list