aboutsummaryrefslogtreecommitdiff
path: root/pretyping/coercion.ml
diff options
context:
space:
mode:
Diffstat (limited to 'pretyping/coercion.ml')
-rw-r--r--pretyping/coercion.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/pretyping/coercion.ml b/pretyping/coercion.ml
index 1e90ef8f3c..8269a47412 100644
--- a/pretyping/coercion.ml
+++ b/pretyping/coercion.ml
@@ -130,7 +130,7 @@ let rec inh_conv_coerce_to_fail env isevars c1 hj =
(* let jv1 = exemeta_rec def_vty_con env isevars v1 in
let assv1 = assumption_of_judgement env !isevars jv1 in *)
let assv1 = outcast_type v1 in
- let env1 = push_rel (x,assv1) env in
+ let env1 = push_rel_decl (x,assv1) env in
let h2 = inh_conv_coerce_to_fail env isevars u2
{uj_val = v2;
uj_type = get_assumption_of env1 !isevars t2 } in
@@ -140,7 +140,7 @@ let rec inh_conv_coerce_to_fail env isevars c1 hj =
let name = (match name with
| Anonymous -> Name (id_of_string "x")
| _ -> name) in
- let env1 = push_rel (name,assu1) env in
+ let env1 = push_rel_decl (name,assu1) env in
let h1 =
inh_conv_coerce_to_fail env isevars t1
{uj_val = Rel 1;