digitalmars.D.bugs - [Issue 8787] New: Virtual not abstract methods in interfaces error message
- d-bugmail puremagic.com (29/29) Oct 09 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8787
- d-bugmail puremagic.com (16/16) Dec 27 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8787
- d-bugmail puremagic.com (12/12) Jan 13 2013 http://d.puremagic.com/issues/show_bug.cgi?id=8787
- d-bugmail puremagic.com (9/9) Jan 13 2013 http://d.puremagic.com/issues/show_bug.cgi?id=8787
- d-bugmail puremagic.com (11/11) Feb 11 2013 http://d.puremagic.com/issues/show_bug.cgi?id=8787
- d-bugmail puremagic.com (11/11) Feb 11 2013 http://d.puremagic.com/issues/show_bug.cgi?id=8787
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 puremagic.com ReportedBy: bearophile_hugs eml.cc 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: -------
Oct 09 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8787 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull CC| |andrej.mitrovich gmail.com Platform|x86 |All AssignedTo|nobody puremagic.com |andrej.mitrovich gmail.com OS/Version|Windows |All 17:14:05 PST --- Both are misleading because there's no such thing as an "abstract function body". A body is never abstract, only the function is. https://github.com/D-Programming-Language/dmd/pull/1416 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 27 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8787 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/185f27951638a3f3499c4fd3975dd1962d80c3cd Fixes Issue 8787 - Better diagnostic on non-final interface function with a body. https://github.com/D-Programming-Language/dmd/commit/67ca915e3d89db564217bd6452de6c6799c01f6c Issue 8787 - Better diagnostic on non-final interface function with a body -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 13 2013
http://d.puremagic.com/issues/show_bug.cgi?id=8787 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 13 2013
http://d.puremagic.com/issues/show_bug.cgi?id=8787 Commits pushed to staging at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/185f27951638a3f3499c4fd3975dd1962d80c3cd Fixes Issue 8787 - Better diagnostic on non-final interface function with a body. https://github.com/D-Programming-Language/dmd/commit/67ca915e3d89db564217bd6452de6c6799c01f6c -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 11 2013
http://d.puremagic.com/issues/show_bug.cgi?id=8787 Commits pushed to https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/185f27951638a3f3499c4fd3975dd1962d80c3cd Fixes Issue 8787 - Better diagnostic on non-final interface function with a body. https://github.com/D-Programming-Language/dmd/commit/67ca915e3d89db564217bd6452de6c6799c01f6c -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 11 2013