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

H. S. Teoh hsteoh at quickfur.ath.cx
Thu Mar 22 11:25:56 PDT 2012


On Thu, Mar 22, 2012 at 11:21:43AM -0700, H. S. Teoh wrote:
[...]
> Hmm. Perhaps some aliases are in order?
> 
> 	struct AssociativeArray(K,V) {
> 		...
> 		alias Key keytype;
> 		alias Value valuetype;
> 		...
> 	}
[...]

OK, I've added these aliases and pushed to github. I think they're a
useful thing to have. If not, it's easy to remove before we integrate
with druntime. But at least in the meantime it will make these AA's
easier to work with.


T

-- 
Bomb technician: If I'm running, try to keep up.


More information about the Digitalmars-d mailing list