casting array literals doesn't work as stated in the docs

Trass3r mrmocool at gmx.de
Sun Jan 3 02:40:15 PST 2010


Steven Schveighoffer schrieb:
> short[] t = cast(short[])[5,3];
> short[] t2 = cast(short[])[5,3].dup;
> 

Second one still doesn't work at compile-time.



More information about the Digitalmars-d mailing list