[Issue 3065] error: this for variable needs to be Type not Type!(arguments).Type

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 12 17:27:07 PDT 2009


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





--- Comment #2 from Chris Wright <dhasenan at gmail.com>  2009-06-12 17:27:05 PDT ---
Additionally, the fix I've found for this error is to access fields as:
(cast(typeof(this)this).field
or
this.tupleof[INDEX]

rather than the more typical:
this.field

My initial guess is that semantic is not being run on the relevant
AggregateDeclaration.

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