[nem-bug] [Nemerle 0001022]: Internal compiler error with nested enum

feedback at nemerle.org feedback at nemerle.org
Fri Jun 1 05:03:08 CEST 2007


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=1022> 
======================================================================
Reported By:                phantom
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   1022
Category:                   Compiler
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             06-01-2007 05:03 CEST
Last Modified:              06-01-2007 05:03 CEST
======================================================================
Summary:                    Internal compiler error with nested enum
Description: 
This code produces internal compiler error while compiling:

public class A
{
	public enum X { | a | b | c };
	
	public x : X = X.b;
}

public class B
{
	public C() : void
	{
		def foo = A();
		match (foo.x)
		{
			| A.X.a => ();
			| A.X.b => ();
			| A.X.c => ();
		}
	}
}
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-01-07 05:03 phantom        New Issue                                    
======================================================================




More information about the bugs mailing list