[Issue 6739] New: [CTFE] Cannot set a value to an outer AA of a nested AA

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 28 05:08:22 PDT 2011


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

           Summary: [CTFE] Cannot set a value to an outer AA of a nested
                    AA
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: youxkei at gmail.com


--- Comment #0 from Hisayuki Mima <youxkei at gmail.com> 2011-09-28 21:07:44 JST ---
pragma(msg, {
    int[int][int] aaa;
    aaa[3][1] = 4;
    aaa[3][3] = 3;// OK
    aaa[1][5] = 9;// Error: key 1 not found in associative array aaa
    return 2;
}());

This code doesn't be compiled by the dmd v2.056 DEBUG(built from github after
the Issue 6693 was fixed).

-- 
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