aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tactics/elim.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/tactics/elim.ml b/tactics/elim.ml
index 4cb44c31ec..e3235fc32a 100644
--- a/tactics/elim.ml
+++ b/tactics/elim.ml
@@ -169,7 +169,8 @@ let induction_trailer abs_i abs_j bargs =
in
let ids = List.rev (ids_of_named_context hyps) in
(tclTHENSEQ
- [bring_hyps hyps; clear ids; simple_elimination (mkVar id)])
+ [bring_hyps hyps; tclTRY (clear ids);
+ simple_elimination (mkVar id)])
gls))
let double_ind h1 h2 gls =