[nem-bug] [Nemerle 0000583]: Compiler crash with mixture of constructor chaining and inheritance.

feedback at nemerle.org feedback at nemerle.org
Mon Dec 5 22:58:41 CET 2005


The following issue has been RESOLVED.
======================================================================
<http://nemerle.org/bugs/view.php?id=583> 
======================================================================
Reported By:                gjmurphy
Assigned To:                malekith
======================================================================
Project:                    Nemerle
Issue ID:                   583
Category:                   Compiler
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             12-05-2005 19:02 CET
Last Modified:              12-05-2005 22:58 CET
======================================================================
Summary:                    Compiler crash with mixture of constructor chaining
and inheritance.
Description: 
Compiling the following code...

    class Blobby:
System.Collections.ObjectModel.KeyedCollection[System.Object,
System.Object]
    {
        public
        this()
        {
            base()
        }
        
        private
        this(x: System.Int32)
        {
            this()
        }
        
        protected override
        GetKeyForItem(item: System.Object): System.Object
        {
            item
        }
    }   

...causes the Nemerle compiler to crash with the message:-

"Internal compiler error: got some unknown exception of type
System.Exception: not found: Name: .ctr ()".




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

----------------------------------------------------------------------
 malekith - 12-05-05 22:58 
----------------------------------------------------------------------
Resolved on trunk, r5995.

Thanks!

Issue History
Date Modified  Username       Field                    Change              
======================================================================
12-05-05 19:02 gjmurphy       New Issue                                    
12-05-05 22:58 malekith       Status                   new => resolved     
12-05-05 22:58 malekith       Resolution               open => fixed       
12-05-05 22:58 malekith       Assigned To               => malekith        
12-05-05 22:58 malekith       Note Added: 0001045                          
======================================================================




More information about the bugs mailing list