http://d.puremagic.com/issues/show_bug.cgi?id=2540
Summary: super can not be using in alias statement
Product: D
Version: 2.022
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
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'
--