[Issue 4679] Problem with final & override
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Aug 19 15:39:54 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4679
Jonathan M Davis <jmdavisProg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jmdavisProg at gmail.com
--- Comment #1 from Jonathan M Davis <jmdavisProg at gmail.com> 2010-08-19 15:39:49 PDT ---
The fact that private has anything to do with final is arguably a bug. It
certainly contradicts TDPL. The bug on that is
http://d.puremagic.com/issues/show_bug.cgi?id=4542
Now, this is still a bug. Either dmd still makes private final, at which point
overriding the method should be a bug, or it follows TDPL and does not make it
final, at which point, the derived method should be called, which it isn't. So,
this is a definitely a bug, but I'd favor fixing #4542 and make it call the
derived method rather than making overriding the method an error.
--
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