[Issue 17225] New: override abstract function by abstract function

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Feb 24 16:08:16 PST 2017


https://issues.dlang.org/show_bug.cgi?id=17225

          Issue ID: 17225
           Summary: override abstract function by abstract function
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: satoshi at rikarin.org

abstract class Foo {
    void test();
}


abstract class Bar {
    override void test();
}


test does not override any function... 

It should be acceptable usage of override keyword.

--


More information about the Digitalmars-d-bugs mailing list