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

interface I
  void foo();

// this compiles
class A : I
  override void foo() {}

// this fails with "function does not override any function"
final class B : I
  override void foo() {}


Reply via email to