[Issue 440] New: dmd.170 fails to mark final methods as implementations of abstract ones

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 17 05:01:36 PDT 2006


http://d.puremagic.com/issues/show_bug.cgi?id=440

           Summary: dmd.170 fails to mark final methods as implementations
                    of abstract ones
           Product: D
           Version: 0.170
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: h3r3tic at mat.uni.torun.pl


interface Foo {
        void foo();
}

class Bar : Foo {
        final void foo() {
        }
}

void main() {
        new Bar;
}


// final170.d(5): class final170.Bar interface function Foo.foo isn't
implemented


-- 




More information about the Digitalmars-d-bugs mailing list