aboutsummaryrefslogtreecommitdiff
path: root/kernel/typeops.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2018-11-05 13:19:54 +0100
committerPierre-Marie Pédrot2018-11-05 13:19:54 +0100
commit5202b20739d18137780b7729ee657b7eecef5c0c (patch)
treededf81cdb23cc530db04a6bfe1a42528397afdb3 /kernel/typeops.ml
parent538a54e8855d477e9ca350a76f852a147809a06b (diff)
parentf18ea56a697fe27467e499d35495e18b866de371 (diff)
Merge PR #8866: Check universe instances in Typing
Diffstat (limited to 'kernel/typeops.ml')
-rw-r--r--kernel/typeops.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/typeops.ml b/kernel/typeops.ml
index 1bb2d3c79c..c8fd83c8a9 100644
--- a/kernel/typeops.ml
+++ b/kernel/typeops.ml
@@ -91,7 +91,8 @@ let type_of_variable env id =
(* Checks if a context of variables can be instantiated by the
variables of the current env.
Order does not have to be checked assuming that all names are distinct *)
-let check_hyps_inclusion env f c sign =
+let check_hyps_inclusion env ?evars f c sign =
+ let conv env a b = conv env ?evars a b in
Context.Named.fold_outside
(fun d1 () ->
let open Context.Named.Declaration in