Thread overview |
---|
January 19, 2009 [Issue 2593] New: "Overriding" interface functions in final classes fails | ||||
---|---|---|---|---|
| ||||
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() {} } -- |
January 19, 2009 [Issue 2593] "Overriding" interface functions in final classes fails | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2593 schveiguy@yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #1 from schveiguy@yahoo.com 2009-01-19 11:31 ------- 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 *** -- |
January 19, 2009 [Issue 2593] "Overriding" interface functions in final classes fails | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2593 ------- Comment #2 from samukha@voliacable.com 2009-01-19 11:58 ------- Yeh, it's the same. I overlooked your report. -- |
Copyright © 1999-2021 by the D Language Foundation