--- Comment #2 from bearophile_h...@eml.cc 2011-07-30 09:13:40 PDT ---
(In reply to comment #1)
> Apparently DMD shouldn't accept string.init at all, e.g. int.init is a
> parser error:
Isn't it better to modify DMD to accept both string.init and int.init, and
return the correct results in both cases?
Because the alternative idiom to create an empty array is to use cast(int),
and it's better to avoid casts where possible.
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------