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

           Summary: Virtual not abstract methods in interfaces error
                    message
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: bearophile_h...@eml.cc


--- Comment #0 from bearophile_h...@eml.cc 2012-10-09 01:45:24 PDT ---
interface Foo {
    void bar() {}
}
void main() {}


DMD 2.061alpha gives:

temp.d(2): Error: function temp.Foo.bar function body is not abstract in
interface Foo

But I suggest an error message like this because final methods are allowed in
D2 interfaces:

temp.d(2): Error: function temp.Foo.bar function body is not abstract or final
in interface Foo

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to