diff options
| author | Matthieu Sozeau | 2017-07-20 15:45:17 +0200 |
|---|---|---|
| committer | Matthieu Sozeau | 2018-07-25 17:56:21 +0200 |
| commit | cba9f3fe48817e8e524483fd984ea4938b3dc14f (patch) | |
| tree | 5ccc7b8297975c777e48d69c9918b0cb91fb9d19 /kernel/type_errors.mli | |
| parent | 9b6ce4f1848c546d0d361aa1089fa2907ca4c9ad (diff) | |
kernel: missing check that all universes are declared.
Keep the universe_levels_of_constr function inside typeops, not
exported.
Diffstat (limited to 'kernel/type_errors.mli')
| -rw-r--r-- | kernel/type_errors.mli | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/type_errors.mli b/kernel/type_errors.mli index 20bf300ac3..9c6ef64b50 100644 --- a/kernel/type_errors.mli +++ b/kernel/type_errors.mli @@ -63,6 +63,7 @@ type ('constr, 'types) ptype_error = | IllTypedRecBody of int * Name.t array * ('constr, 'types) punsafe_judgment array * 'types array | UnsatisfiedConstraints of Univ.Constraint.t + | UndeclaredUniverse of Univ.Level.t type type_error = (constr, types) ptype_error @@ -108,3 +109,5 @@ val error_ill_typed_rec_body : val error_elim_explain : Sorts.family -> Sorts.family -> arity_error val error_unsatisfied_constraints : env -> Univ.Constraint.t -> 'a + +val error_undeclared_universe : env -> Univ.Level.t -> 'a |
