https://issues.dlang.org/show_bug.cgi?id=17606
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from [email protected] --- As far as I can tell, the grammar allows it. As a UserDefinedAttribute, `@foo` matches Property [1]. Property is one of the options for StorageClass [2] (another option is the `auto` keyword). With `@foo` matching StorageClass, `@foo a = false;` matches AutoDeclaration [3] just like `auto a = false;` would. [1] http://dlang.org/spec/attribute.html#Property [2] http://dlang.org/spec/declaration.html#StorageClass [3] http://dlang.org/spec/declaration.html#AutoDeclaration --
