[UDA] Error: first argument is not a symbol

drug via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Sep 15 06:30:18 PDT 2016


15.09.2016 15:56, Steven Schveighoffer пишет:
>
> This is due to int not being a symbol, which apparently
> __traits(getAttributes, ...) requires.
>
> int is a keyword and not considered a symbol. An annoying distinction
> without a difference in this case. I'd say it's something we should fix,
> but this kind of problem has existed forever. Not sure if it will get
> attention.
>
> -Steve

Thank you for answer


More information about the Digitalmars-d-learn mailing list