On Mon, Jan 7, 2013 at 4:27 AM, Timon Gehr <timon.gehr@gmx.ch> wrote:


The compiler should obviously use the part of the parser that parses template arguments to parse UDA's. I am surprised this is not what is done.

I humbly concur. Walter, you yourself presented UDAs as 'linking the dots' between different part of the D language (tuples...). It's an interesting and elegant approach, but the current situation is somewhat inadequate: UDA can be manipulated like template tuple parameters and should be parsed as such.