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

--- Comment #6 from Andrej Mitrovic <[email protected]> ---
(In reply to Kenji Hara from comment #5)
> By adding variable type, the declaration and definition of scopeName
> variable will be properly separated. Therefore on __traits(parent,
> scopeName), it should not cause recursive semantic analysis of the
> initializer. Finally it should work as expected.

Interesting. Thanks for examining this. I'll CC Philippe Sigaud so he's
up-to-date on what needs fixing in the Templates book.

--

Reply via email to