digitalmars.D.bugs - [Issue 2593] New: "Overriding" interface functions in final classes fails
- d-bugmail puremagic.com (28/28) Jan 19 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2593
- d-bugmail puremagic.com (11/11) Jan 19 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2593
- d-bugmail puremagic.com (4/4) Jan 19 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2593
http://d.puremagic.com/issues/show_bug.cgi?id=2593 Summary: "Overriding" interface functions in final classes fails Product: D Version: 2.023 Platform: PC OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: samukha voliacable.com interface I { void foo(); } // this compiles class A : I { override void foo() {} } // this fails with "function test.B.foo does not override any function" final class B : I { override void foo() {} } --
Jan 19 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2593 schveiguy yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE Same general description, just you marked the class as final, I marked the method as final. *** This bug has been marked as a duplicate of 2524 *** --
Jan 19 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2593 Yeh, it's the same. I overlooked your report. --
Jan 19 2009