aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/quote
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2016-11-20 01:35:54 +0100
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2017-02-14 17:30:26 +0100
commite6a8ab0f428c26fff2bd7e636126974f167101bf (patch)
treeb1be917ecc68504649aa9583aad77475e6f13157 /plugins/quote
parentc72bf7330bb32970616be4dddc7571f3b91c1562 (diff)
Tactic_matching API using EConstr.
Diffstat (limited to 'plugins/quote')
-rw-r--r--plugins/quote/quote.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/quote/quote.ml b/plugins/quote/quote.ml
index 2cc402e28..09e77598a 100644
--- a/plugins/quote/quote.ml
+++ b/plugins/quote/quote.ml
@@ -403,7 +403,7 @@ let quote_terms ivs lc =
| (lhs, rhs)::tail ->
begin try
let s1 = Id.Map.bindings (matches (Global.env ()) Evd.empty rhs (EConstr.of_constr c)) in
- let s2 = List.map (fun (i,c_i) -> (coerce_meta_out i,aux c_i)) s1
+ let s2 = List.map (fun (i,c_i) -> (coerce_meta_out i,aux (EConstr.Unsafe.to_constr c_i))) s1
in
Termops.subst_meta s2 lhs
with PatternMatchingFailure -> auxl tail