On 8/3/16 2:34 PM, Ali Çehreli wrote:

void main() {
    Element[] elements = cast(Element[])[ quadraticCoefficient(1),
linearCoefficient(2), equals(), constant(1) ];

is the cast necessary? I assumed the compiler would infer the common base type...

-Steve

Reply via email to