[Issue 2540] New: super can not be using in alias statement
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Dec 22 16:59:26 PST 2008
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: bugzilla at digitalmars.com
ReportedBy: 2korden at gmail.com
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'
--
More information about the Digitalmars-d-bugs
mailing list