aboutsummaryrefslogtreecommitdiff
path: root/tactics/contradiction.ml
diff options
context:
space:
mode:
authoraspiwack2013-11-02 15:39:08 +0000
committeraspiwack2013-11-02 15:39:08 +0000
commitb9b1122ff82cd9e8bb9782e7c4c5d39bf0df7488 (patch)
tree53e928b97f5e355a69f17734af9d9c262ccf5052 /tactics/contradiction.ml
parentc25d1d8967dbdadbad85e22c50e1b63f6091e1fe (diff)
Made Proofview.Goal.hyps a named_context.
There was really no point in having it be a named_context val. The tactics are not going to access the vm cache. Only vm_compute will. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@17007 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tactics/contradiction.ml')
-rw-r--r--tactics/contradiction.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/tactics/contradiction.ml b/tactics/contradiction.ml
index b5c496e26d..19e5906f85 100644
--- a/tactics/contradiction.ml
+++ b/tactics/contradiction.ml
@@ -46,7 +46,7 @@ let filter_hyp f tac =
| _::rest -> seek rest in
Proofview.Goal.enter begin fun gl ->
let hyps = Proofview.Goal.hyps gl in
- seek (Environ.named_context_of_val hyps)
+ seek hyps
end
let contradiction_context =
@@ -74,7 +74,6 @@ let contradiction_context =
| _ -> seek_neg rest
in
let hyps = Proofview.Goal.hyps gl in
- let hyps = Environ.named_context_of_val hyps in
seek_neg hyps
end