Bug 10700 – Add __traits(isOverrideFunction) to get if a function is override

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-07-23T00:49:00Z
Last change time
2015-06-09T05:13:46Z
Assigned to
nobody
Creator
doob

Comments

Comment #0 by doob — 2013-07-23T00:49:21Z
Add __traits(isOverride) to get if a function is override
Comment #1 by doob — 2013-07-23T00:50:55Z
Pull request: https://github.com/D-Programming-Language/dmd/pull/2366#issuecomment-21316103 Documentation needs to be added for this as well.
Comment #2 by doob — 2013-07-23T01:10:31Z
It's actual __traits(__isOverrideFunction).
Comment #3 by doob — 2013-07-23T02:05:52Z
Pull request for the documentation: https://github.com/D-Programming-Language/dlang.org/pull/366. This also includes the documentation for the getUnitTests trait.
Comment #4 by bugzilla — 2013-07-23T14:05:47Z
Comment #5 by doob — 2013-11-04T00:22:42Z