aboutsummaryrefslogtreecommitdiffhomepage
path: root/proofs
diff options
context:
space:
mode:
authorGravatar Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net>2018-06-22 16:09:23 +0200
committerGravatar Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net>2018-06-26 13:33:51 +0200
commit05dff3bdaaf474e67b0878bc2dd0952427ce277e (patch)
tree61aca8104fd4e3729d06c392f3fa9bd9b6db06bd /proofs
parentdf35025b2be4a0dc9aadecc0e3110a21012683cf (diff)
universes_of_constr don't include universes of monomorphic constants
Apparently it was not useful. I don't remember what I was thinking when I added it.
Diffstat (limited to 'proofs')
-rw-r--r--proofs/proof_global.ml5
1 files changed, 2 insertions, 3 deletions
diff --git a/proofs/proof_global.ml b/proofs/proof_global.ml
index 3120c97b5..47c9c51ee 100644
--- a/proofs/proof_global.ml
+++ b/proofs/proof_global.ml
@@ -348,9 +348,8 @@ let close_proof ~keep_body_ucst_separate ?feedback_id ~now
not (Safe_typing.empty_private_constants = eff))
in
let typ = if allow_deferred then t else nf t in
- let env = Global.env () in
- let used_univs_body = Univops.universes_of_constr env body in
- let used_univs_typ = Univops.universes_of_constr env typ in
+ let used_univs_body = Univops.universes_of_constr body in
+ let used_univs_typ = Univops.universes_of_constr typ in
if allow_deferred then
let initunivs = UState.const_univ_entry ~poly initial_euctx in
let ctx = constrain_variables universes in