aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping/evarconv.mli
diff options
context:
space:
mode:
authorGravatar Matthieu Sozeau <matthieu.sozeau@inria.fr>2014-12-12 14:07:04 +0100
committerGravatar Matthieu Sozeau <matthieu.sozeau@inria.fr>2014-12-12 14:07:04 +0100
commitf47afacd86ff1f9fda5347decf298ace941a24bc (patch)
treedcebda4952a8e62c06c42e188a557dc315683d92 /pretyping/evarconv.mli
parent4a0cd08598ce4b88b3c1d34b3beb3687eedb94f8 (diff)
Two fixes in unification (bugs #3782 and #3709)
- In evarconv, check_conv_record properly computes the parameters of primitive record projections for later unification, adding env and sigma as arguments. - In unification, backtrack on pattern-unification and not only application unification if eta for a record failed.
Diffstat (limited to 'pretyping/evarconv.mli')
-rw-r--r--pretyping/evarconv.mli3
1 files changed, 2 insertions, 1 deletions
diff --git a/pretyping/evarconv.mli b/pretyping/evarconv.mli
index f3363e358..f559db253 100644
--- a/pretyping/evarconv.mli
+++ b/pretyping/evarconv.mli
@@ -42,7 +42,8 @@ val check_problems_are_solved : env -> evar_map -> unit
(** Check if a canonical structure is applicable *)
-val check_conv_record : constr * types Stack.t -> constr * types Stack.t ->
+val check_conv_record : env -> evar_map ->
+ constr * types Stack.t -> constr * types Stack.t ->
Univ.universe_context_set * (constr * constr)
* constr * constr list * (constr Stack.t * constr Stack.t) *
(constr Stack.t * types Stack.t) *