UDAs on Enum Members: Does it require a DIP?

Michael V. Franklin slavo5150 at yahoo.com
Sun Nov 19 13:35:13 UTC 2017


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


More information about the Digitalmars-d mailing list