[Issue 22232] implementing interface function by inheriting from other class
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sun Aug 22 13:42:36 UTC 2021
    
    
  
https://issues.dlang.org/show_bug.cgi?id=22232
Adam D. Ruppe <destructionator at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |destructionator at gmail.com
--- Comment #1 from Adam D. Ruppe <destructionator at gmail.com> ---
This is by design, see item 13 here:
 https://dlang.org/spec/interface.html
Even if the parent already did the interface, the spec says the interface must
be implemented again. You can do it by using forwarding functions.
--
    
    
More information about the Digitalmars-d-bugs
mailing list