spir:

> Maybe, but (in this case) array literals are OK.

The are not OK. They need to use the lowest common supertype, and in this case 
they aren't doing it. If this is too much hard or unsafe or ambiguous to do, 
then D array literals need some syntax to allow the programmer to specify the 
missing semantics in a nice way.

Bye,
bearophile

Reply via email to