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

           Summary: An AA with an AA as key doesn't seem to work
           Product: D
           Version: 2.040
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: s...@invisibleduck.org
        ReportedBy: bearophile_h...@eml.cc


--- Comment #0 from bearophile_h...@eml.cc 2010-02-18 11:26:09 PST ---
import std.stdio;
void main() {
    int[int] aa1 = [1:2, 3:4];
    int[int] aa2 = [5:6, 7:8];
    byte[int[int]] s;
    s[aa1] = 1;
    s[aa2] = 2;
    writeln(s);
}

It prints:
[[1:2,3:4]:2]

Instead of something as:
[[1: 2, 3: 4]: 1, [5: 6, 7: 8]: 2]

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

Reply via email to