array literal element types

Walter Bright newshound1 at digitalmars.com
Thu Nov 12 13:42:45 PST 2009


Currently, the type is determined by the type of the first element and 
the rest are implicitly cast to it.

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



More information about the Digitalmars-d mailing list