aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/quote/quote.ml
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/quote/quote.ml')
-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