aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pretyping/unification.ml10
1 files changed, 2 insertions, 8 deletions
diff --git a/pretyping/unification.ml b/pretyping/unification.ml
index d09e5f2451..67990d2191 100644
--- a/pretyping/unification.ml
+++ b/pretyping/unification.ml
@@ -1021,16 +1021,10 @@ let w_unify2 env flags cv_pb ty1 ty2 evd =
match kind_of_term c1, kind_of_term c2 with
| Meta p1, _ ->
(* Find the predicate *)
- let evd' =
- secondOrderAbstraction env flags ty2 (p1,oplist1) evd in
- (* Resume first order unification *)
- w_unify_0 env cv_pb flags (nf_meta evd' ty1) ty2 evd'
+ secondOrderAbstraction env flags ty2 (p1,oplist1) evd
| _, Meta p2 ->
(* Find the predicate *)
- let evd' =
- secondOrderAbstraction env flags ty1 (p2, oplist2) evd in
- (* Resume first order unification *)
- w_unify_0 env cv_pb flags ty1 (nf_meta evd' ty2) evd'
+ secondOrderAbstraction env flags ty1 (p2, oplist2) evd in
| _ -> error "w_unify2"
(* The unique unification algorithm works like this: If the pattern is