aboutsummaryrefslogtreecommitdiffhomepage
path: root/proofs/tacmach.ml
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2016-10-03 15:26:17 +0200
committerGravatar Maxime Dénès <mail@maximedenes.fr>2016-10-03 15:26:17 +0200
commit6cc37a67e4be8e20cd3da46077ab8f3458e22394 (patch)
tree7baf96eaccf037a94d7e525ccaec898955b465bd /proofs/tacmach.ml
parent4a2e0798cf24c9edf4e96bd6ad62bdbde7a7cdf7 (diff)
parentd55818c7da468ce1c7c9644cb63f68f7561a17bc (diff)
Merge remote-tracking branch 'github/pr/263' into v8.6
Was PR#263: Fast lookup in named contexts
Diffstat (limited to 'proofs/tacmach.ml')
-rw-r--r--proofs/tacmach.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/proofs/tacmach.ml b/proofs/tacmach.ml
index b9330ff00..2b129ad89 100644
--- a/proofs/tacmach.ml
+++ b/proofs/tacmach.ml
@@ -187,9 +187,9 @@ module New = struct
next_ident_away id ids
let pf_get_hyp id gl =
- let hyps = Proofview.Goal.hyps gl in
+ let hyps = Proofview.Goal.env gl in
let sign =
- try Context.Named.lookup id hyps
+ try Environ.lookup_named id hyps
with Not_found -> raise (RefinerError (NoSuchHyp id))
in
sign