UDAs on enum members

Ali Çehreli via Digitalmars-d digitalmars-d at puremagic.com
Sun Jul 17 09:07:13 PDT 2016


On 07/14/2016 12:05 AM, 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.
>

One more +1...

To those who know the compiler internals, is there a reason why UDA are 
not applied to all turtles? (I guess the answer is not that simple. :) )

Ali



More information about the Digitalmars-d mailing list