[nem-bug] [Nemerle 0000584]: Compiler crash when using an array initialiser with mixed types of initialiser elements and no explicit array rank.

feedback at nemerle.org feedback at nemerle.org
Tue Dec 6 15:25:32 CET 2005


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=584> 
======================================================================
Reported By:                gjmurphy
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   584
Category:                   Compiler
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             12-06-2005 15:25 CET
Last Modified:              12-06-2005 15:25 CET
======================================================================
Summary:                    Compiler crash when using an array initialiser with
mixed types of initialiser elements and no explicit array rank.
Description: 
On trying to compile the following...

module Tricky
{
    public
    makeAnArray(): array[System.Int32]
    {
        array.[][1, 2]
    }
}

... the compiler crashes with the message:-

"Internal compiler error: got some unknown exception of type:
System.NullReferenceException: Object reference not set to an instance of
an object. ()"

Supplying an explicit array rank results in the above snippet compiling
without crashing.


======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
12-06-05 15:25 gjmurphy       New Issue                                    
======================================================================




More information about the bugs mailing list