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

Andrej Mitrovic andrej.mitrovich at gmail.com
Thu Mar 22 07:48:24 PDT 2012


On 3/22/12, H. S. Teoh <hsteoh at quickfur.ath.cx> wrote:
> This is because in aaA.d _aaGetX creates a new entry if one isn't found,
> but because it has no direct access to value types (only has typeinfo),
> it doesn't know what value .init has. It sets the value to binary zero
> by default.

Damn, hashes really are a terrible hack. I'm really looking forward to
your new implementation.


More information about the Digitalmars-d mailing list