[nem-bug] [Nemerle 0000786]: internal compiler error

feedback at nemerle.org feedback at nemerle.org
Tue Nov 14 21:32:07 CET 2006


A NOTE has been added to this issue.
======================================================================
<http://nemerle.org/bugs/view.php?id=786> 
======================================================================
Reported By:                wolfhound
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   786
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             11-14-2006 21:28 CET
Last Modified:              11-14-2006 21:32 CET
======================================================================
Summary:                    internal compiler error
Description: 
using System.Collections.Generic;

class StateMachine[T]
{
    public class StateSet
    {
        public Add(state : State) : void
        {
        }
    }

    public class State
    {
        public Add() : void
        {
            def set = StateSet();
            set.Add(State());
        }
    }
}

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

----------------------------------------------------------------------
 nazgul - 11-14-06 21:32 
----------------------------------------------------------------------
Looks like MS.NET bug, move StateSet and State classes outside generic
StateMachine class....

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-14-06 21:28 wolfhound      New Issue                                    
11-14-06 21:32 nazgul         Note Added: 0001508                          
======================================================================




More information about the bugs mailing list