aboutsummaryrefslogtreecommitdiff
path: root/checker/type_errors.mli
diff options
context:
space:
mode:
authorMaxime Dénès2017-11-13 11:22:41 +0100
committerMaxime Dénès2017-11-13 11:22:41 +0100
commitb75f803afb3189a9f3b594a190fdb8d6207e7624 (patch)
tree28b33d0d1ffa2fbe42d044235987f34b0c733fbb /checker/type_errors.mli
parenta7df689e73dd396dafdbb4891d534b7fa5cb0fc8 (diff)
parentf3abbc55ef160d1a65d4467bfe9b25b30b965a46 (diff)
Merge PR #6065: [api] Deprecate all legacy uses of Names in core.
Diffstat (limited to 'checker/type_errors.mli')
-rw-r--r--checker/type_errors.mli10
1 files changed, 5 insertions, 5 deletions
diff --git a/checker/type_errors.mli b/checker/type_errors.mli
index b5f14c7189..f45144c234 100644
--- a/checker/type_errors.mli
+++ b/checker/type_errors.mli
@@ -54,14 +54,14 @@ type type_error =
| WrongCaseInfo of inductive * case_info
| NumberBranches of unsafe_judgment * int
| IllFormedBranch of constr * int * constr * constr
- | Generalization of (name * constr) * unsafe_judgment
+ | Generalization of (Name.t * constr) * unsafe_judgment
| ActualType of unsafe_judgment * constr
| CantApplyBadType of
(int * constr * constr) * unsafe_judgment * unsafe_judgment array
| CantApplyNonFunctional of unsafe_judgment * unsafe_judgment array
- | IllFormedRecBody of guard_error * name array * int
+ | IllFormedRecBody of guard_error * Name.t array * int
| IllTypedRecBody of
- int * name array * unsafe_judgment array * constr array
+ int * Name.t array * unsafe_judgment array * constr array
| UnsatisfiedConstraints of Univ.constraints
exception TypeError of env * type_error
@@ -96,9 +96,9 @@ val error_cant_apply_bad_type :
unsafe_judgment -> unsafe_judgment array -> 'a
val error_ill_formed_rec_body :
- env -> guard_error -> name array -> int -> 'a
+ env -> guard_error -> Name.t array -> int -> 'a
val error_ill_typed_rec_body :
- env -> int -> name array -> unsafe_judgment array -> constr array -> 'a
+ env -> int -> Name.t array -> unsafe_judgment array -> constr array -> 'a
val error_unsatisfied_constraints : env -> Univ.constraints -> 'a