Skip to content

Commit 2a3b9de

Browse files
authored
Port PR81 from ocaml-jst (#1024)
1 parent 5c8a2db commit 2a3b9de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ocaml/typing/ctype.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2501,9 +2501,9 @@ and mcomp_tuple_description type_pairs env =
25012501
mcomp type_pairs env ty1 ty2;
25022502
if gf1 = gf2
25032503
then iter xs ys
2504-
else raise (Unify (expand_to_unification_error env []))
2504+
else raise Incompatible
25052505
| [], [] -> ()
2506-
| _ -> raise (Unify (expand_to_unification_error env []))
2506+
| _ -> raise Incompatible
25072507
in
25082508
iter
25092509

0 commit comments

Comments
 (0)