aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2015-11-20 11:27:45 +0100
committerPierre-Marie Pédrot2015-11-20 11:27:45 +0100
commitf01b73bd6f5a66cde730c584df6be08e06bf2042 (patch)
tree294b074f4752fdb39f24ea4e2f55349558e9db26 /plugins
parent5ccadc40d54090df5e6b61b4ecbb6083d01e5a88 (diff)
parent574e510ba069f1747ecb1e5a17cf86c902d79d44 (diff)
Merge branch 'v8.5'
Diffstat (limited to 'plugins')
-rw-r--r--plugins/funind/glob_term_to_relation.ml2
-rw-r--r--plugins/quote/quote.ml4
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/funind/glob_term_to_relation.ml b/plugins/funind/glob_term_to_relation.ml
index 1b12cd42ce..5d92fca5ea 100644
--- a/plugins/funind/glob_term_to_relation.ml
+++ b/plugins/funind/glob_term_to_relation.ml
@@ -681,7 +681,7 @@ and build_entry_lc_from_case env funname make_discr
let case_resl =
List.fold_right
(fun (case_arg,_) ctxt_argsl ->
- let arg_res = build_entry_lc env funname avoid case_arg in
+ let arg_res = build_entry_lc env funname ctxt_argsl.to_avoid case_arg in
combine_results combine_args arg_res ctxt_argsl
)
el
diff --git a/plugins/quote/quote.ml b/plugins/quote/quote.ml
index 04936cd835..8cf365cea3 100644
--- a/plugins/quote/quote.ml
+++ b/plugins/quote/quote.ml
@@ -212,9 +212,9 @@ let compute_rhs bodyi index_of_f =
let i = destRel (Array.last args) in
PMeta (Some (coerce_meta_in i))
| App (f,args) ->
- PApp (pi3 (pattern_of_constr (Global.env()) Evd.empty f), Array.map aux args)
+ PApp (pattern_of_constr (Global.env()) Evd.empty f, Array.map aux args)
| Cast (c,_,_) -> aux c
- | _ -> pi3 (pattern_of_constr (Global.env())(*FIXME*) Evd.empty c)
+ | _ -> pattern_of_constr (Global.env())(*FIXME*) Evd.empty c
in
aux bodyi