Array literals MUST be immutable.

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Feb 17 05:49:09 PST 2010


Don wrote:
> This is for me the last remaining D2 issue.
> I've mentioned this several times before. Mutable array 'literals' are 
> wrong on so many levels. Here are some of the issues, listed in 
> decreasing importance.
[snip]

I agree. How do you see we should change the language to fix things?

Andrei



More information about the Digitalmars-d mailing list