[erlang-bugs] Strange compiler crash with defines

Daniel Luna <>
Thu Sep 14 10:09:08 CEST 2006

I found this error a couple of years ago, but forgot to send it in.

> cat error.erl
-define(ASSERT, ?MODULE).


> erlc error.erl

=ERROR REPORT==== 14-Sep-2006::09:49:13 ===
Error in process <0.21.0> with exit value: 

./error.erl:none: internal error in parse_module;

Daniel Luna                           | Top reasons that I have a beard:
                     |  a) Laziness.
http://www.update.uu.se/~luna/        |  b) I can.
Don't look at my homepage (it stinks).|  c) I can get away with it.

More information about the erlang-bugs mailing list