[Issue 2608] int[] literal too polysemous

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 23 18:03:18 PST 2009


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





------- Comment #2 from andrei at metalanguage.com  2009-01-23 20:03 -------
(In reply to comment #1)
> The problem is that an array literal has a static array type by default.
> Wouldn't it be more user-friendly for it to be a dynamic array type?

Oh, you are right. Walter did change the default type of literals to
dynamic-length, but apparently only for strings.


-- 



More information about the Digitalmars-d-bugs mailing list