Compiler crash

Chandrashekhar Mullaparthi <>
Mon Aug 5 02:50:06 CEST 2002


test({type=interim}=DelRep, State) ->
    State;

The compiler with R7B, R8B, R8B-1 crashes when compiling a illegal clause
like the above.

/export/home/chandru/temp/esas/src/esas_reply_handler.erl:none: internal
error in v3_core;
crash reason: {{case_clause,{'EXIT',{function_clause,
                                        [{v3_core,
                                             pat_alias,
                                             [{c_atom,[],type},
                                              {c_atom,[],interim}]},
                                         {lists,map,2},
                                         {v3_core,pattern,1},
                                         {lists,map,2},
                                         {v3_core,clause,2},
                                         {lists,mapfoldl,3},
                                         {v3_core,body,3},
                                         {v3_core,function,1}|
                                         more]}}},
               [{compile,'-select_passes/2-fun-2-',2},
                {compile,'-internal_comp/4-fun-1-',2},
                {compile,fold_comp,3},
                {compile,internal_comp,4},
                {compile,internal,3}]}                                  

The correct version of the function is:

test(#delivery_report{type=interim}=DelRep, State) ->
    State;

Is this a known bug?

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