[Issue 12571] __traits(parent) should work for typed manifest constant in initializer

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 15 04:36:31 PDT 2014


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

--- Comment #6 from Andrej Mitrovic <andrej.mitrovich at gmail.com> ---
(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.

--


More information about the Digitalmars-d-bugs mailing list