UDA for module declaration.

Daniel Kozak via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 17 00:56:31 PDT 2014


V Wed, 17 Sep 2014 00:46:04 +0000
IgorStepanov via Digitalmars-d <digitalmars-d at puremagic.com> napsáno:

> Why not subj?
> D allows annotate with UDA the most of named symbols.
> There are three category of named symbols, which cannot be 
> annotated: module declarations, function arguments and enum 
> members.
> Enum members are trivial symbols and annotation possibility for 
> them probably does not make sense.
> However, annotation unpossibility for module declaration and 
> function arguments looks strange.

Month ago I need UDA for module declarations too, so I hack my own
version of DMD. It would be fine if this would be in upstream.



More information about the Digitalmars-d mailing list