aboutsummaryrefslogtreecommitdiff
path: root/plugins/ltac
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2018-12-05 17:41:33 +0100
committerPierre-Marie Pédrot2018-12-05 17:41:33 +0100
commitce4910fe9299bbd54a313980eedaf8d57daade1c (patch)
tree4b758b6af09181d86f5b614141d4460f34d923e8 /plugins/ltac
parent23f2222bb2c97110b6e55835fd19528177e41ff3 (diff)
parent3429abee7c572676fa1155bf1620386bdf10d798 (diff)
Merge PR #8705: [vernac] [hooks] Refactor towards optional hooks.
Diffstat (limited to 'plugins/ltac')
-rw-r--r--plugins/ltac/rewrite.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ltac/rewrite.ml b/plugins/ltac/rewrite.ml
index fee469032c..06783de614 100644
--- a/plugins/ltac/rewrite.ml
+++ b/plugins/ltac/rewrite.ml
@@ -1998,7 +1998,7 @@ let add_morphism_infer atts m n =
let hook = Lemmas.mk_hook hook in
Flags.silently
(fun () ->
- Lemmas.start_proof instance_id kind (Evd.from_ctx uctx) (EConstr.of_constr instance) hook;
+ Lemmas.start_proof ~hook instance_id kind (Evd.from_ctx uctx) (EConstr.of_constr instance);
ignore (Pfedit.by (Tacinterp.interp tac))) ()
let add_morphism atts binders m s n =