[Issue 7534] Allow attribute-overloading of an overridden method
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Feb 18 03:34:08 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7534
--- Comment #3 from timon.gehr at gmx.ch 2012-02-18 03:33:58 PST ---
NVM, that would break code like the following:
class C{
void foo(){writeln(1);}
void foo()immutable{writeln(2);}
}
class D : C {
alias C.foo foo;
void foo()const{writeln(3);} // currently overrides 2
}
I don't know if it is worth the effort.
--
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