[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:34:44 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12287
--- Comment #7 from Vladimir Panteleev <thecybershadow at gmail.com> 2014-03-03 04:34:43 EET ---
OK, so you pattern-match the template.
But I don't think this is a good solution, because any recursive use of
__traits(parent) will need to take care of this special case. It goes against
the principle of least surprise.
What are your arguments against a compiler change?
--
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