diff options
author | Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net> | 2017-12-05 20:22:14 +0100 |
---|---|---|
committer | Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net> | 2017-12-06 13:23:31 +0100 |
commit | 5b8b02cd060097c3c980b0498257c30eda1ad207 (patch) | |
tree | ff0e51230d3518bb2db523187644cd73d40aecf5 /engine/uState.mli | |
parent | 2c5e81e3bc6ec17d253aeedd1b2bf4ccd3b81933 (diff) |
Fix #6323: stronger restrict universe context vs abstract.
In the test we do [let X : Type@{i} := Set in ...] with Set
abstracted. The constraint [Set < i] was lost in the abstract.
Universes of a monomorphic reference [c] are considered to appear in
the term [c].
Diffstat (limited to 'engine/uState.mli')
-rw-r--r-- | engine/uState.mli | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/uState.mli b/engine/uState.mli index 2c39e85f7..5dfe9a22d 100644 --- a/engine/uState.mli +++ b/engine/uState.mli @@ -87,6 +87,8 @@ val universe_of_name : t -> Id.t -> Univ.Level.t val restrict : t -> Univ.LSet.t -> t +val demote_seff_univs : Safe_typing.private_constants Entries.definition_entry -> t -> t + type rigid = | UnivRigid | UnivFlexible of bool (** Is substitution by an algebraic ok? *) |