When are associative arrays meant to throw a RangeError?
Daniel Murphy
yebblies at nospamgmail.com
Fri Feb 17 19:46:21 PST 2012
Yes, that's the issue I'm talking about. In this case no comments means no
disagreements. Unfortunately it requires changes to the AA api/codegen to
fix, so it will probably be around until we move AAs completely into
druntime.
"bearophile" <bearophileHUGS at lycos.com> wrote in message
news:jhn604$5ur$1 at digitalmars.com...
> Daniel Murphy:
>
>> It's 3. It also has the nasty side effect that throwing while evaluating
>> the rhs leaves the AA with a default-initialized key.
>
> Maybe related to this thread.
> A lot of time ago I have added this issue to Bugzilla, I have never
> received a comment on it, so far:
> http://d.puremagic.com/issues/show_bug.cgi?id=3825
>
> Bye,
> bearophile
More information about the Digitalmars-d
mailing list