← Back to index
|
Original Bugzilla link
Bug 10362 – deprecation for enum members
Status
RESOLVED
Resolution
DUPLICATE
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-06-15T01:38:00Z
Last change time
2013-06-15T08:00:30Z
Assigned to
nobody
Creator
code
Comments
Comment #0
by code — 2013-06-15T01:38:55Z
The obvious use case is to deprecate a renamed enum member. enum Foo { bar, deprecated("please use Foo.bar") Bar = bar, }
Comment #1
by andrej.mitrovich — 2013-06-15T08:00:30Z
*** This issue has been marked as a duplicate of issue 9395 ***