[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 13:42:06 PST 2014


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



--- Comment #2 from Vladimir Panteleev <thecybershadow at gmail.com> 2014-03-02 23:42:03 EET ---
I think this only applies to eponymous templates. The parent of the member is
the struct declaration, the parent of which is the template instance. But when
referring to the template instance of an eponymous template, it is "converted"
to the symbol it wraps (the struct declaration), so it never exits the cycle.

-- 
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