Wrong lowering for a[b][c]++

Jesse Phillips Jessekphillips+D at gmail.com
Wed Mar 21 12:21:47 PDT 2012


H. S. is making a Library replacement AA and is what his example 
is concerned with.

You are correct, it seems his example has it out of order, the 
example on Learn was

int[100][string] map;
...

On Wednesday, 21 March 2012 at 18:58:34 UTC, Ali Çehreli wrote:
> This works:
>
> import std.stdio;
>
> void main()
> {
>     int[string][int] map;
>     map[20]["abc"]++;
>
>     writeln(map);
> }
>
> The output:
>
> [20:["abc":1]]
>
> Ali




More information about the Digitalmars-d mailing list