aboutsummaryrefslogtreecommitdiff
path: root/checker/typeops.ml
diff options
context:
space:
mode:
authorletouzey2010-12-18 16:35:15 +0000
committerletouzey2010-12-18 16:35:15 +0000
commit2a451f1809389beb123985d746f2e8febd46832e (patch)
tree0bedd2eb88e2ec865070b4757546a4ec4a7fbf6b /checker/typeops.ml
parent1c98af511e3cdc84c97bfc615a4c012059539d4f (diff)
Univ.constraints made fully abstract instead of being a Set of abstract stuff
No need to tell the world about the fact that constraints are implemented via caml's Set. Other modules just need to know about the empty and union functions (and addition functions "enforce_geq" and "enforce_eq" that were already there). git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13725 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'checker/typeops.ml')
-rw-r--r--checker/typeops.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/checker/typeops.ml b/checker/typeops.ml
index c37f371f56..5226db5349 100644
--- a/checker/typeops.ml
+++ b/checker/typeops.ml
@@ -255,7 +255,7 @@ let refresh_arity env ar =
match hd with
Sort (Type u) when not (is_univ_variable u) ->
let u' = fresh_local_univ() in
- let env' = add_constraints (enforce_geq u' u Constraint.empty) env in
+ let env' = add_constraints (enforce_geq u' u empty_constraint) env in
env', mkArity (ctxt,Type u')
| _ -> env, ar