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

class A
    void foo() {}

class B : A
    // alias foo;
    alias 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'


Reply via email to