Adding deprecated to an enum member

Moritz Maxeiner via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Aug 1 17:28:05 PDT 2017


On Tuesday, 1 August 2017 at 01:12:28 UTC, Jeremy DeHaan wrote:
> I got an error today because I added deprecated to an enum 
> member.
>
> Is there a way to achieve this, or am I out of luck? If it 
> isn't doable, should it be?
>
> Here's what I want:
>
> [...]

It's a bug [1].

[1] https://issues.dlang.org/show_bug.cgi?id=9395


More information about the Digitalmars-d-learn mailing list