Bug 3023 – override keyword fail if iface has several super interfaces

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
Other
OS
Linux
Creation time
2009-05-24T10:07:00Z
Last change time
2014-04-18T09:12:07Z
Keywords
diagnostic
Assigned to
nobody
Creator
larsivar

Comments

Comment #0 by larsivar — 2009-05-24T10:07:02Z
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).
Comment #1 by clugdbug — 2009-10-19T12:15:37Z
My patch for bug 3381 fixes this. (reported later, but TDPL bugs get priority). *** This issue has been marked as a duplicate of issue 3381 ***