array literal element types

bearophile bearophileHUGS at lycos.com
Thu Nov 12 14:30:14 PST 2009


Walter Bright:
> I propose changing it to being the type produced by applying the ?: 
> logic repeatedly to all the elements.

A lot of time ago I have proposed that array literals use the type able to contain all their items :-)
D is slowly improving. Lot of travel to do still.

Bye,
bearophile



More information about the Digitalmars-d mailing list