[Issue 3836] [tdpl] obligatory override attribute

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 28 17:36:37 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=3836


Stewart Gordon <smjg at iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg at iname.com


--- Comment #11 from Stewart Gordon <smjg at iname.com> 2012-02-28 17:36:32 PST ---
http://dlang.org/hijack.html
"The D solution is straightforward. If a function in a derived class overrides
a function in a base class, it must use the storage class override. If it
overrides without using the override storage class it's an error. If it uses
the override storage class without overriding anything, it's an error."

Though I'm not sure the term "storage class" is correct here.  And there's no
mention of obligatory override on attribute.html.

-- 
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