December 13, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1729

           Summary: ICE when using std.typecons.defineEnum
           Product: D
           Version: 2.008
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: gide@nwawudu.com


The following code causes the compiler to segmenation fault. This happends on Windows and Linux of DMD version 2.008.

test.d
------
import std.typecons;

// mixin(defineEnum!("Direction", "Up", "Down")); // OK
// mixin(defineEnum!("Direction", "Up", 1, "Down")); // OK
mixin(defineEnum!("Direction", "Up", 1, "Down", 2)); // Segmentation fault

void main() {
}


-- 

January 05, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1729


gide@nwawudu.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from gide@nwawudu.com  2008-01-05 10:34 -------
ICE is fixed in 2.009, but I will raise a new ticket for the issues in std.typecons.defineEnum.


--