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

Basile-z <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
           Hardware|x86_64                      |All
                 OS|Linux                       |All
           Severity|enhancement                 |normal

--- Comment #1 from Basile-z <[email protected]> ---
I don't know if the report is valid.

1. You can still call the interface version of foo, e.g `(new C).D.foo();`
2. C.foo() is not virtual and does not call the inherited D.foo().

Because 2, the specs are respected. It's not an override but rather a case of 
hijacking.

--

Reply via email to