[Issue 2854] New: Empty struct constructor in const causes crash

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 18 17:08:42 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2854

           Summary: Empty struct constructor in const causes crash
           Product: D
           Version: 1.043
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: d294934 at bsnow.net


struct Array
{       
        const Array Empty = Array();

        int[] numbers = [0, 1, 2];
}


-- 



More information about the Digitalmars-d-bugs mailing list