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



--- Comment #2 from Vladimir Panteleev <thecybersha...@gmail.com> 2012-01-08 
15:11:53 PST ---
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;
}

There is a simple workaround available:

    struct Fields { mixin(FIELDS); }
    alias typeof(Fields.init.tupleof[0]) TypeOfFirstField;

So, if you think this is not a bug, I'm not against this change.

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

Reply via email to