Compiler crash

Chandrashekhar Mullaparthi Chandrashekhar.Mullaparthi@REDACTED
Sun Mar 16 00:08:20 CET 2003


Got a compiler crash compiling this syntactically wrong code. Using R9B.

-module(test).
-author('cmullapa@REDACTED').

-compile(export_all).

test() ->
    .io.format("abcd~n", []).  % This should really be .io:format

--------------------------


18> c(test).
./test.erl:none: internal error in beam_clean;
crash reason: {{case_clause,{'EXIT',{function_clause,
                                        [{dict,fetch_val,[4,[]]},
                                         {beam_clean,find_all_used,3},
                                         {beam_clean,module,2},
                                         {compile,
 
'-select_passes/2-anonymous-2-',
                                             2},
                                         {compile,
 
'-internal_comp/4-anonymous-1-',
                                             2},
                                         {compile,fold_comp,3},
                                         {compile,internal_comp,4},
                                         {compile,internal,3}]}}},
               [{compile,'-select_passes/2-anonymous-2-',2},
                {compile,'-internal_comp/4-anonymous-1-',2},
                {compile,fold_comp,3},
                {compile,internal_comp,4},
                {compile,internal,3}]}
error

cheers
Chandru



 NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.




More information about the erlang-questions mailing list