Reply to Trass3r,

auto members = __traits(allMembers, typeof(this));

try switching that to
const[][] members = __traits(allMembers, typeof(this));

if that doesn't fix it try dropping this part (it might make it clearer what's going on)

static if (is (typeof(__traits(getMember, this, members[m])) F ==
function))
{
pragma(msg, "function");
}

Looking at the rest of the thread, I think you might be looking at a bug.


Reply via email to