On Thursday, 1 November 2018 at 16:14:45 UTC, Neia Neutuladh wrote: > The spec says that a user-defined attribute must be an > expression, but DMD accepts a wide range of things as UDAs: > > struct Foo { string name = "unknown"; } > @Foo int bar; IIRC symbol reference is a primary expression.