[Issue 3023] New: override keyword fail if iface has several super interfaces
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun May 24 10:07:03 PDT 2009
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: bugzilla at digitalmars.com
ReportedBy: larsivar at igesund.net
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: -------
More information about the Digitalmars-d-bugs
mailing list