Type inference and overloaded functions

bearophile bearophileHUGS at lycos.com
Thu Dec 12 06:47:11 PST 2013


> string[3] a = ["red""green","blue"];
> void main() {}

I suggested to support such incomplete literals only with this 
extra syntax:

int[3] a = [1, 2, ...];
void main() {}

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list