diff options
| author | herbelin | 2011-10-05 15:52:09 +0000 |
|---|---|---|
| committer | herbelin | 2011-10-05 15:52:09 +0000 |
| commit | 67f5aa82fc2a1fca35e1f8ba0204f9417b148757 (patch) | |
| tree | 5bee263dfdf5ec0aac5b859f41c88d8248d8ebc9 /plugins | |
| parent | 685ae9ecd6635ab4e44368f8eb2c7415e6de42f6 (diff) | |
Fixing Implicit Tactic mode damaged by commit r14496 (see also bug #2612).
There were some confusion on the role of clear_proofs which was
applicable only to the global named_context. Hopefully made things
clearer.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14517 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/funind/recdef.ml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/funind/recdef.ml b/plugins/funind/recdef.ml index 8ff28293bc..8021d742b2 100644 --- a/plugins/funind/recdef.ml +++ b/plugins/funind/recdef.ml @@ -955,8 +955,7 @@ let open_new_goal (build_proof:tactic -> tactic -> unit) using_lemmas ref_ goal_ try (add_suffix current_proof_name "_subproof") with _ -> anomaly "open_new_goal with an unamed theorem" in - let sign = Global.named_context () in - let sign = clear_proofs sign in + let sign = initialize_named_context_for_proof () in let na = next_global_ident_away name [] in if Termops.occur_existential gls_type then Util.error "\"abstract\" cannot handle existentials"; |
