aboutsummaryrefslogtreecommitdiff
path: root/user-contrib
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2020-02-04 09:46:02 +0100
committerPierre-Marie Pédrot2020-02-04 10:46:19 +0100
commit077959dccaa6d2072dab844927ad7f1b7496b5fd (patch)
treebe110a10e5c809054c52df5050cb0e8e186fe350 /user-contrib
parent1c1c04d0e3e02ce461fb953f08e2d8c68e52ee63 (diff)
Fix #11515: Ltac2 rewrite on wildcard.
There was an evar leak due to an evarmap not being threaded correctly when computing open terms.
Diffstat (limited to 'user-contrib')
-rw-r--r--user-contrib/Ltac2/tac2tactics.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/user-contrib/Ltac2/tac2tactics.ml b/user-contrib/Ltac2/tac2tactics.ml
index 561bd9c0c5..8a14be9ca7 100644
--- a/user-contrib/Ltac2/tac2tactics.ml
+++ b/user-contrib/Ltac2/tac2tactics.ml
@@ -33,6 +33,7 @@ let delayed_of_tactic tac env sigma =
let _, pv = Proofview.init sigma [] in
let name, poly = Id.of_string "ltac2_delayed", false in
let c, pv, _, _ = Proofview.apply ~name ~poly env tac pv in
+ let _, sigma = Proofview.proofview pv in
(sigma, c)
let delayed_of_thunk r tac env sigma =