[Issue 2525] Can't use `override` when implementing abstract base class's interface function

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Dec 7 07:20:06 PST 2014


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

Ben Grabham <dlang at chillichef.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dlang at chillichef.com

--- Comment #9 from Ben Grabham <dlang at chillichef.com> ---
I just hit this bug too and I wasn't so fortunate as to realise that classes
that implement an interface need override but classes that extend and abstract
class which implements an interface must not have the "override" attribute.
Please make it consistent!

--


More information about the Digitalmars-d-bugs mailing list