[Issue 11616] New: Introduce virtual keyword and remove virtual-by-default
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Nov 27 04:27:52 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11616
Summary: Introduce virtual keyword and remove
virtual-by-default
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: preapproved
Severity: enhancement
Priority: P2
Component: DMD
AssignedTo: yebblies at gmail.com
ReportedBy: yebblies at gmail.com
--- Comment #0 from yebblies <yebblies at gmail.com> 2013-11-27 23:27:49 EST ---
Thread with discussion and Walter-approval:
http://forum.dlang.org/thread/yzsqwejxqlnzryhrkfuq@forum.dlang.org?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)
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list