[Issue 10362] New: deprecation for enum members
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jun 15 01:39:03 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10362
Summary: deprecation for enum members
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: code at dawg.eu
--- Comment #0 from Martin Nowak <code at dawg.eu> 2013-06-15 01:38:55 PDT ---
The obvious use case is to deprecate a renamed enum member.
enum Foo
{
bar,
deprecated("please use Foo.bar") Bar = bar,
}
--
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