Summary: override keyword fail if iface has several super
           Product: D
           Version: 1.044
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: DMD

dmd -c bah.d
interface A { void foo(); } 
interface AA { void foofoo(); }
interface B : A, AA { void bar(); } 
class C : B { 
    override void foo() {} 
    override void bar() {} 
    override void foofoo() {}

results in

bah.d(7): Error: function bah.C.foofoo does not override any function

Tested with DMD 1.045 (but that version isn't present in the dropdown).

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to