diff options
| -rw-r--r-- | src/type_check.ml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/type_check.ml b/src/type_check.ml index d90e8d35..270b2cf4 100644 --- a/src/type_check.ml +++ b/src/type_check.ml @@ -1695,7 +1695,11 @@ let rec assert_constraint env (E_aux (exp_aux, _) as exp) = nc_eq (assert_nexp env x) (assert_nexp env y) | E_app (op, [x; y]) when string_of_id op = "neq_atom" -> nc_neq (assert_nexp env x) (assert_nexp env y) - | _ -> nc_true + | _ -> + begin + typ_debug ("Unable to construct a constraint for expression " ^ string_of_exp exp); + nc_true + end type flow_constraint = | Flow_lteq of big_int * nexp |
