http://d.puremagic.com/issues/show_bug.cgi?id=3023
Summary: override keyword fail if iface has several super
interfaces
Product: D
Version: 1.044
Platform: Other
OS/Version: Linux
Status: NEW
Keywords: diagnostic
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
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: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------