[Issue 12287] infinite loop on std.traits.moduleName on templated struct member

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 2 18:49:04 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12287



--- Comment #9 from Vladimir Panteleev <thecybershadow at gmail.com> 2014-03-03 04:49:01 EET ---
(In reply to comment #8)
> Because your compiler change will make some part of the internal structure of
> the template instantiation invisible. 

I don't understand. Why?

Before my patch: __traits(parent, X!foo) is the same symbol as X!foo. It did
not reveal any internal structure at all, the result was completely useless.

After my patch, it produces the result that a casual user may expect from an
eponymous template, especially when declared like struct S(Args) {...}

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list