}
if (e->op == TOKtype)
*pt = e->type;
else if (e->op == TOKerror)
*pt = Type::terror;
else
*pe = e;
if (ident == Id::ctfe)
{
error(loc, "variable __ctfe cannot be read at compile time");
*pe = NULL;
*ps = NULL;
return;
Dsymbol *s = sc->search(loc, ident, &scopesym);
resolveHelper(loc, sc, s, scopesym, pe, pt, ps, intypeid);
if (*pt)