diff options
author | Matthieu Sozeau <mattam@mattam.org> | 2013-10-17 14:55:57 +0200 |
---|---|---|
committer | Matthieu Sozeau <mattam@mattam.org> | 2014-05-06 09:58:53 +0200 |
commit | 84cbc09bd1400f732a6c70e8a840e4c13d018478 (patch) | |
tree | f6b3417e653bea9de8f0d8f510ad19ccdbb4840e /library/global.mli | |
parent | 57bee17f928fc67a599d2116edb42a59eeb21477 (diff) |
Correct rebase on STM code. Thanks to E. Tassi for help on dealing with
latent universes. Now the universes in the type of a definition/lemma
are eagerly added to the environment so that later proofs can be checked
independently of the original (delegated) proof body.
- Fixed firstorder, ring to work correctly with universe polymorphism.
- Changed constr_of_global to raise an anomaly if side effects would be lost by
turning a polymorphic constant into a constr.
- Fix a non-termination issue in solve_evar_evar.
-
Diffstat (limited to 'library/global.mli')
-rw-r--r-- | library/global.mli | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/global.mli b/library/global.mli index b6825ffa5..410be961b 100644 --- a/library/global.mli +++ b/library/global.mli @@ -108,7 +108,8 @@ val join_safe_environment : unit -> unit val is_polymorphic : Globnames.global_reference -> bool -(* val type_of_global : Globnames.global_reference -> types Univ.in_universe_context_set *) +val type_of_global_in_context : Environ.env -> + Globnames.global_reference -> Constr.types Univ.in_universe_context val type_of_global_unsafe : Globnames.global_reference -> Constr.types (** {6 Retroknowledge } *) |