www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17225] New: override abstract function by abstract function

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 puremagic.com
          Reporter: satoshi 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.

--
Feb 24 2017