aboutsummaryrefslogtreecommitdiff
path: root/vernac
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2019-06-17 15:32:06 +0200
committerEmilio Jesus Gallego Arias2019-06-24 20:55:37 +0200
commitffaac25e993eaf103b5a66dd3b0bce7598ac8e15 (patch)
treea83b2c8e6848864d167d8992e5906308dcef40d9 /vernac
parent3f99dcacdf94e77395913973c8ae5cf5b9c65b35 (diff)
[proof] Move initial_euctx to proof_global
These are only needed when closing / admitting a proof.
Diffstat (limited to 'vernac')
-rw-r--r--vernac/lemmas.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/vernac/lemmas.ml b/vernac/lemmas.ml
index 2dbcce2399..380ccff996 100644
--- a/vernac/lemmas.ml
+++ b/vernac/lemmas.ml
@@ -519,7 +519,7 @@ let save_lemma_admitted ?proof ~(lemma : t) =
~label:"Lemmas.save_proof" (Pp.str "more than one statement.")
in
let typ = EConstr.Unsafe.to_constr typ in
- let universes = Proof.((data pftree).initial_euctx) in
+ let universes = Proof_global.get_initial_euctx lemma.proof in
(* This will warn if the proof is complete *)
let pproofs, _univs =
Proof_global.return_proof ~allow_partial:true lemma.proof in