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: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from yebblies <[email protected]> 2013-11-27 23:27:49 EST ---
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)

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to