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: bugzi...@digitalmars.com
        ReportedBy: samu...@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() {}
}


-- 

Reply via email to