Bug 17225 – override abstract function by abstract function

Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2017-02-25T00:08:16Z
Last change time
2017-10-27T09:01:12Z
Assigned to
No Owner
Creator
Satoshi

Comments

Comment #0 by satoshi — 2017-02-25T00:08:16Z
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.
Comment #1 by satoshi — 2017-02-25T00:18:02Z
*abstract class Bar : Foo { .... interesting... It works on this simple example, but in more complex code nope. I'll try to find why.
Comment #2 by razvan.nitu1305 — 2017-10-27T09:01:12Z
I'll close this as invalid and if you find a case where it doesn't work, feel free to open e new bug report. Thanks!