https://issues.dlang.org/show_bug.cgi?id=15640
--- Comment #2 from Marc Schütz <[email protected]> --- (In reply to Marc Schütz from comment #1) > 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[] ... should have been: auto a = [new B(), new C()]; But the result is just the same. --
