|
@@ -3014,7 +3014,7 @@ let generate con =
|
|
|
| TBinop (Ast.OpLt, e1, e2)
|
|
|
| TBinop (Ast.OpLte, e1, e2)
|
|
|
| TBinop (Ast.OpGte, e1, e2)
|
|
|
- | TBinop (Ast.OpGt, e1, e2) -> is_dynamic e.etype || is_dynamic_expr e1 || is_dynamic_expr e2 || is_string e1.etype || is_string e2.etype
|
|
|
+ | TBinop (Ast.OpGt, e1, e2) -> is_dynamic e.etype || is_dynamic e1.etype || is_dynamic e2.etype || is_string e1.etype || is_string e2.etype
|
|
|
| TBinop (_, e1, e2) -> is_dynamic e.etype || is_dynamic_expr e1 || is_dynamic_expr e2
|
|
|
| TUnop (_, _, e1) -> is_dynamic_expr e1 || is_null_expr e1 (* we will see if the expression is Null<T> also, as the unwrap from Unop will be the same *)
|
|
|
| _ -> false)
|