Can't seem to call super constructor if it's a template

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Aug 10 18:37:06 UTC 2020


class A {
     this(T)() {}
}

class B : A {
     this() { super!int(); }
}

Error: found ! when expecting ; following statement

That should work, shouldn't it?


More information about the Digitalmars-d mailing list