[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:54:27 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3824
--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-10-21 13:54:26 PDT ---
(In reply to comment #1)
> 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.
Have you tried HEAD? I see two keys:
assert(aa3.length == 2); // passes for me
--
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