[Issue 1727] New: Associate Array Literals regression
Jarrett Billingsley
kb3ctd2 at yahoo.com
Wed Dec 12 11:41:35 PST 2007
"Matti Niemenmaa" <see_signature at for.real.address> wrote in message
news:fjpbvo$1s6a$1 at digitalmars.com...
>
> It won't compile at global scope, and never has.
>
> http://www.digitalmars.com/d/1.0/expression.html#AssocArrayLiteral
>
> "An AssocArrayLiteral cannot be used to statically initialize anything."
Then it's not a bug in any way, is it? It's stupid, but according to spec.
And it's not a regression because nothing changed. It works fine in 2.008
too.
More information about the Digitalmars-d-bugs
mailing list