[Issue 3824] An AA with an AA as key doesn't seem to work

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 21 13:47:19 PDT 2012


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


bearophile_hugs at eml.cc changed:

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


--- Comment #1 from bearophile_hugs at eml.cc 2012-10-21 13:47:18 PDT ---
It doesn't work still, see:

void main() {
    int[int] aa1 = [1: 2];
    int[int] aa2 = [1: 2];
    int[int[int]] aa3;
    aa3[aa1] = 1;
    aa3[aa2] = 2;
    assert(aa3.length == 1);
}


In DMD 2.061alpha the aa3 has two identical keys.

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