[Issue 1640] Can't slice array literal directly

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 4 23:05:43 PST 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1640





------- Comment #2 from matti.niemenmaa+dbugzilla at iki.fi  2007-11-05 01:05 -------
I knew about this workaround, just forgot to mention it. The other, of course,
is to do:

int[] foo = [1,2,3];
foo = foo[0..1];

It's still a bug, though.


-- 



More information about the Digitalmars-d-bugs mailing list