Skip to content

Commit

Permalink
Remove last case of optimize(WANTinterpret)
Browse files Browse the repository at this point in the history
  • Loading branch information
don-clugston-sociomantic committed Jun 7, 2013
1 parent 453da5f commit c00056d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cast.c
Expand Up @@ -1065,7 +1065,7 @@ Expression *Expression::castTo(Scope *sc, Type *t)
VarDeclaration *v = ((VarExp *)this)->var->isVarDeclaration();
if (v && v->storage_class & STCmanifest)
{
Expression *e = optimize(WANTvalue | WANTinterpret);
Expression *e = ctfeInterpret();
return e->castTo(sc, t);
}
}
Expand Down

0 comments on commit c00056d

Please sign in to comment.