https://issues.dlang.org/show_bug.cgi?id=15640 --- Comment #1 from Marc Schütz <schuetzm at gmx.net> --- Note also that the following works, too: class A { } class B : A { } class C : A { } auto a = [new A(), new B()]; pragma(msg, typeof(a)); // A[] --