[Issue 2608] int[] literal too polysemous
https://issues.dlang.org/show_bug.cgi?id=2608 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Version|2.021 |D2 --
[Issue 2608] int[] literal too polysemous
http://d.puremagic.com/issues/show_bug.cgi?id=2608 bearophile_h...@eml.cc changed: What|Removed |Added Status|NEW |RESOLVED CC||bearophile_h...@eml.cc Resolution||FIXED --- Comment #4 from bearophile_h...@eml.cc 2010-10-29 09:47:02 PDT --- That code works with dmd 2.050. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 2608] int[] literal too polysemous
http://d.puremagic.com/issues/show_bug.cgi?id=2608 --- Comment #2 from and...@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. --