Compiler bug?

Erik Reitsma (ETM) <>
Thu Feb 20 09:54:05 CET 2003


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.



More information about the erlang-questions mailing list