UDAs on Enum Members: Does it require a DIP?
Nicholas Wilson
iamthewilsonator at hotmail.com
Sun Nov 19 21:45:09 UTC 2017
On Sunday, 19 November 2017 at 13:35:13 UTC, Michael V. Franklin
wrote:
> Apparently user-defined attributes are not permitted on enum
> members.
>
> Issue is documented here:
> https://issues.dlang.org/show_bug.cgi?id=9701
> Pull request implementing the feature is here:
> https://github.com/dlang/dmd/pull/6161
>
> The pull request seems to have stalled over how to get the
> feature approved. Some consider it an oversight in the
> implementation of UDAs. Others consider it a language change.
> What's the official word? Does it require a DIP?
>
> Thanks,
> Mike
I remember Johan Engelen doing something about this, can't
remember if it was LDC or DMD.
More information about the Digitalmars-d
mailing list