Agreed. Timon, could you please submit to bugzilla?
Filed as an enhancement: http://d.puremagic.com/issues/show_bug.cgi?id=7534
BTW I referred to the converse problem:
class C {
void foo() {}
void foo() const {}
}
class D : C {
void foo() const {} // should only override the const overload
}
Andrei
OK. Note that alias C.foo foo; inside Ds body is required in order to make the code compile by inheriting the overload.
