aboutsummaryrefslogtreecommitdiff
path: root/kernel/vars.ml
diff options
context:
space:
mode:
authorMatthieu Sozeau2013-11-22 12:35:33 +0100
committerMatthieu Sozeau2014-05-06 09:58:56 +0200
commit1dd78acac418c0f69abb8d9f5d8db13351f01ccc (patch)
tree4833fb9c014ebedd94a4f46c1bc8d8c6d5396d56 /kernel/vars.ml
parent25460d19599fd64aaeccbf4667737feb786ae7f6 (diff)
Various fixes of universe polymorphism and projections when they're set.
- Fix substitution of universes! - Properly refresh universes in typeclasses exact hints. Conflicts: kernel/term_typing.ml toplevel/obligations.ml
Diffstat (limited to 'kernel/vars.ml')
-rw-r--r--kernel/vars.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/vars.ml b/kernel/vars.ml
index a9f4644abf..40a797a902 100644
--- a/kernel/vars.ml
+++ b/kernel/vars.ml
@@ -295,7 +295,7 @@ let subst_univs_level_constr subst c =
if u' == u then t else
(changed := true; mkSort (Sorts.sort_of_univ u'))
| _ -> Constr.map aux t
- in
+ in
let c' = aux c in
if !changed then c' else c