UDAs on Enum Members: Does it require a DIP?
Michael V. Franklin
slavo5150 at yahoo.com
Mon Nov 27 10:43:45 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?
Bumping this thread. I'm still hoping for an official answer to
this.
Walter and/or Andrei,
Is the lack of support for attributes on `enum` members an
implementation oversight?
Is a DIP required to move the implementation forward?
Thanks,
Mike
More information about the Digitalmars-d
mailing list