https://d.puremagic.com/issues/show_bug.cgi?id=11616
--- Comment #2 from yebblies <[email protected]> 2013-11-28 00:46:08 EST --- (In reply to comment #1) > (In reply to comment #0) > > Thread with discussion and Walter-approval: > > > > http://forum.dlang.org/thread/[email protected]?page=28#post-koqkhc:244nn:241:40digitalmars.com > > > > 1. Add warning for not marking a virtual method with 'virtual' > > 2. Deprecate not marking a virtual method with 'virtual' > > 3. Make it an error to not mark virtual methods with 'virtual' > > > > At this point, all methods are marked with either 'virtual', 'final', > > 'abstract', or 'override' or are implicitly final. (eg template methods, > > constructors) > > > > 4. Do not require 'final' to mark a function as final. (optional) > > Since I already started writing this, I may as well paste it here: > http://wiki.dlang.org/DIP51 > It can be updated if details emerge. I updated it. The warning goes on the introducing method, not on the overriding one. This forces all methods to be correctly annotated, even if there are no derived classes. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
