https://issues.dlang.org/show_bug.cgi?id=17606

Vladimir Panteleev <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|x86                         |All
                 OS|Linux                       |All

--- Comment #2 from Vladimir Panteleev <[email protected]> ---
Yeah, pretty sure you can add anything to a declaration that distinguishes it
from a statement, which apparently includes UDAs. "auto" is a no-effect keyword
that you can use if you have nothing else to write there. Same reason why
`const foo() { return 1; }` is valid inside a method.

--

Reply via email to