[Issue 8787] New: Virtual not abstract methods in interfaces error message
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 9 02:03:30 PDT 2012
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: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at 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: -------
More information about the Digitalmars-d-bugs
mailing list