Array type inference annoyance

Daniel Murphy yebblies at nospamgmail.com
Thu Nov 21 03:18:01 PST 2013


> According to TDPL (§2.2.6, p.40), the type of array literals are
> inferred by applying the ?: operator to elements pairwise. But the
> second call to func() above fails in spite of the fact that this code
> passes:

https://d.puremagic.com/issues/show_bug.cgi?id=5498 




More information about the Digitalmars-d mailing list