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

Andrej Mitrovic andrej.mitrovich at gmail.com
Thu Mar 22 07:26:00 PDT 2012


On 3/22/12, Jesse Phillips <jessekphillips+D at gmail.com> wrote:
> double[int] a;
> What is the result of your code on 'a' now? double.init is NAN.

Hmm this is interesting. With 2.058:

double[int] a;
a[0]++;
writeln(a[0]);  // prints 1

double b;
b++;
writeln(b);  // prints nan


More information about the Digitalmars-d mailing list