[Issue 7534] Allow attribute-overloading of an overridden method

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 18 03:26:45 PST 2012


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



--- Comment #2 from timon.gehr at gmx.ch 2012-02-18 03:26:40 PST ---
The idea is that code like this would be allowed too:

class C{
    void foo(){}
}

class D : C {
    alias C.foo foo;  // inherit from super class
    void foo()const{} // additional overload
}

I agree that implementing this requires making omission of override an error.

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


More information about the Digitalmars-d-bugs mailing list