[Issue 7695] New: ICE on associative array with keys of struct type with const members

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 12 19:26:41 PDT 2012


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

           Summary: ICE on associative array with keys of struct type with
                    const members
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: simen.kjaras at gmail.com


--- Comment #0 from Simen Kjaeraas <simen.kjaras at gmail.com> 2012-03-12 19:26:50 PDT ---
struct Bar {
    const int t;
}

void main( ) {
    int[Bar] a;
    int n = a.length;
}

Assertion failure: 'impl' on line 4407 in file 'mtype.c'

abnormal program termination

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list