[Issue 7249] 2.058 regression: "no size yet for forward reference" when using this.init.tupleof
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jan 8 15:15:23 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7249
--- Comment #3 from Vladimir Panteleev <thecybershadow at gmail.com> 2012-01-08 15:15:23 PST ---
(In reply to comment #2)
> In my case, the list of fields is passed as a template parameter:
>
> struct S(string FIELDS)
> {
> mixin(FIELDS);
>
> alias typeof(Fields.init.tupleof[0]) TypeOfFirstField;
Oops, last line should be:
alias typeof(this.init.tupleof[0]) TypeOfFirstField;
--
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