diff options
Diffstat (limited to 'kernel/type_errors.ml')
| -rw-r--r-- | kernel/type_errors.ml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/type_errors.ml b/kernel/type_errors.ml index f3cb78205a..89174d1bf6 100644 --- a/kernel/type_errors.ml +++ b/kernel/type_errors.ml @@ -31,6 +31,11 @@ type type_error = | CantFindCaseType of constr | OccurCheck of int * constr | NotClean of int * constr + (* Pattern-matching errors *) + | BadConstructor of constructor_path * inductive_path + | WrongNumargConstructor of constructor_path * int + | WrongPredicateArity of constr * int * int + | NeedsInversion of constr * constr exception TypeError of path_kind * context * type_error |
