return null;
}
private Constant evaluate(Expr.BinOp bop, Constant v1, Constant v2,
Context context) {
Type v1_type = v1.type();
Type v2_type = v2.type();
Type lub = Type.Union(v1_type, v2_type);
// FIXME: there are bugs here related to coercions.
if (Type.isSubtype(Type.T_BOOL, lub)) {
return evaluateBoolean(bop, (Constant.Bool) v1, (Constant.Bool) v2,