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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 28 00:40:04 PST 2013


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



--- Comment #5 from Don <clugdbug at yahoo.com.au> 2013-01-28 00:40:02 PST ---
(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.

This code passes now on git head (f8ddb72).

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