[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 21:01:00 PST 2014


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



--- Comment #17 from Vladimir Panteleev <thecybershadow at gmail.com> 2014-03-03 07:00:55 EET ---
If we are to go with a library solution, then parentOf needs to be made public,
documented, and advocated in favor of the __traits primitive. And the
documentation of the __traits primitive needs to be updated to say that it is
unreliable as in certain cases it returns the symbol itself rather than its
parent. (What a mess.)

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