[Issue 7717] Regression(2.059): typeof(this) incorrect in mixin template

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 16 08:44:17 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=7717



--- Comment #3 from Vladimir Panteleev <thecybershadow at gmail.com> 2012-03-16 08:44:28 PDT ---
If this behavior is invalid by design, then the error message should be
improved (e.g. to ".init not known at this point" or "recursive semantic
analysis attempt on S").

The workaround is to use std.traits.hasMember (which, underneath, uses
__traits(allMembers, T)).

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


More information about the Digitalmars-d-bugs mailing list