[:] as empty associative array literal, plus warning for null
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Thu Jul 4 07:32:57 PDT 2013
On 7/4/13 3:00 AM, Dicebot wrote:
> I am afraid I don't really follow here. How introducing new array
> literal (and making old one stronger typed) compromises typeof(null)
> features?
If it has a different type, there's unneeded secession. If it has the
same type, it's arguably useless as one could always write (T[K]).init
in the rare cases that need disambiguation.
Andrei
More information about the Digitalmars-d
mailing list