Mono-D v0.4.1.2 - Heavily improved performance + Completion bugs removed

Piotr Szturmaj bncrbme at jadamspam.pl
Thu Aug 23 16:23:37 PDT 2012


alex wrote:
> Then I fixed several issues with template parameter deduction - and
> figured out several bugs or a kinda undefined behaviour of dmd:
>
> class A(T) {
>      class SubClass {}
> }
> class C(U: A!W.SubClass, W){}
> class D : C!(A!int.SubClass) { } // is not allowed, but A!int is -- why?

try marking SubClass with static keyword.


More information about the Digitalmars-d-announce mailing list