http://d.puremagic.com/issues/show_bug.cgi?id=3836



--- Comment #5 from Jonathan M Davis <jmdavisp...@gmx.com> 2011-04-26 10:25:50 
PDT ---
class Foo(T, R...) : Foo!R {
    override void bar() {
        super.bar();
    }
}
class Foo(T){
    void bar() {}
}
void main() {
    new Foo!(int, float)();
}

I don't see what's so confusing about that. Per -w (and per TDPL) any time that
you override a function, you need to put the override attribute on the version
in the subclass.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to