aboutsummaryrefslogtreecommitdiff
path: root/plugins/decl_mode
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2014-11-03 20:47:06 +0100
committerPierre-Marie Pédrot2014-11-03 23:56:51 +0100
commitd0a871374e3b3498c51d9d7b8e4510f7e1e7a3e1 (patch)
treedc79c27faabd1d6650b11c4a15cdfab7269fa6ac /plugins/decl_mode
parentedbd6a211c934778d9721c36463836ef902b4fdd (diff)
Writing rename_hyps in the new monad.
This new implementation now allows for simultaneous replacing of hypotheses, thus fixing bug #2149.
Diffstat (limited to 'plugins/decl_mode')
-rw-r--r--plugins/decl_mode/decl_proof_instr.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/decl_mode/decl_proof_instr.ml b/plugins/decl_mode/decl_proof_instr.ml
index 9d64efdeda..4bc60fffff 100644
--- a/plugins/decl_mode/decl_proof_instr.ml
+++ b/plugins/decl_mode/decl_proof_instr.ml
@@ -712,7 +712,7 @@ let rec consider_match may_intro introduced available expected gls =
consider_match may_intro ((id,false)::introduced) rest_ids rest
| Name hid ->
tclTHENLIST
- [rename_hyp [id,hid];
+ [Proofview.V82.of_tactic (rename_hyp [id,hid]);
consider_match may_intro ((hid,true)::introduced) rest_ids rest]
end
begin