diff options
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/type_errors.ml | 1 | ||||
| -rw-r--r-- | kernel/type_errors.mli | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/kernel/type_errors.ml b/kernel/type_errors.ml index 89174d1bf6..02db98b986 100644 --- a/kernel/type_errors.ml +++ b/kernel/type_errors.ml @@ -31,6 +31,7 @@ type type_error = | CantFindCaseType of constr | OccurCheck of int * constr | NotClean of int * constr + | VarNotFound of identifier (* Pattern-matching errors *) | BadConstructor of constructor_path * inductive_path | WrongNumargConstructor of constructor_path * int diff --git a/kernel/type_errors.mli b/kernel/type_errors.mli index aaf278c271..1c0df5a31e 100644 --- a/kernel/type_errors.mli +++ b/kernel/type_errors.mli @@ -33,6 +33,7 @@ type type_error = | CantFindCaseType of constr | OccurCheck of int * constr | NotClean of int * constr + | VarNotFound of identifier (* Pattern-matching errors *) | BadConstructor of constructor_path * inductive_path | WrongNumargConstructor of constructor_path * int |
