class A { void foo() {} } class B : A { // alias super.foo foo; alias A.foo foo; void foo(int i) {} } test.d(8): basic type expected, not super test.d(8): no identifier for declarator int test.d(8): semicolon expected to close alias declaration test.d(8): Declaration expected, not 'super'
I'd really like this.
Vote up!
https://github.com/D-Programming-Language/dmd/pull/199
https://github.com/D-Programming-Language/dmd/commit/078cd689872eddbe7a18411fcae16b2c129671ca
This should have been marked as an enhancement. It also produces the behavior illustrated by https://issues.dlang.org/show_bug.cgi?id=12228