UDAs on enum members

ZombineDev via Digitalmars-d digitalmars-d at puremagic.com
Sat Jul 16 11:57:57 PDT 2016


On Thursday, 14 July 2016 at 07:05:08 UTC, Jacob Carlborg wrote:
> On 2016-07-13 13:57, Tomer Filiba wrote:
>> It would be really nice if I could put UDAs on enum members as 
>> well, e.g.,
>
> I think it should be supported, if nothing else for "turtles 
> all the way"/completeness.

I agree. Another thing missing is parameter UDAs. There is [1] a 
pull request for that, but unfortunately it got stuck about a 
year ago.

[1]: https://github.com/dlang/dmd/pull/4783


More information about the Digitalmars-d mailing list