diff options
author | Gaëtan Gilbert <gaetan.gilbert@ens-lyon.fr> | 2017-09-01 16:14:03 +0200 |
---|---|---|
committer | Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net> | 2018-07-03 13:39:18 +0200 |
commit | cea3d7c83bf3aae18262e62b897ec204c098e444 (patch) | |
tree | 9ff31a628af00e19de1b8403ef94969a675e4e9d /engine/univGen.ml | |
parent | d0b1ac17610bec74abaf122628b74c62643655d8 (diff) |
Remove unused env argument to fresh_sort_in_family
(Universes and Evd)
Diffstat (limited to 'engine/univGen.ml')
-rw-r--r-- | engine/univGen.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/univGen.ml b/engine/univGen.ml index 796a1bcc1..b07d4848f 100644 --- a/engine/univGen.ml +++ b/engine/univGen.ml @@ -215,7 +215,7 @@ let type_of_reference env r = let type_of_global t = type_of_reference (Global.env ()) t -let fresh_sort_in_family env = function +let fresh_sort_in_family = function | InProp -> Sorts.prop, ContextSet.empty | InSet -> Sorts.set, ContextSet.empty | InType -> @@ -223,7 +223,7 @@ let fresh_sort_in_family env = function Type (Univ.Universe.make u), ContextSet.singleton u let new_sort_in_family sf = - fst (fresh_sort_in_family (Global.env ()) sf) + fst (fresh_sort_in_family sf) let extend_context (a, ctx) (ctx') = (a, ContextSet.union ctx ctx') |