diff options
| author | herbelin | 1999-12-09 23:20:18 +0000 |
|---|---|---|
| committer | herbelin | 1999-12-09 23:20:18 +0000 |
| commit | baa3e16836c3f0daf24ba47aadbdee525762d6ec (patch) | |
| tree | 4841eb29be562802e06f9aa3f72ccda37daa5814 /kernel/type_errors.mli | |
| parent | 35c127288df53b8561d13082738806fa44049a1a (diff) | |
Ajout des messages d'erreurs de Cases
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@226 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/type_errors.mli')
| -rw-r--r-- | kernel/type_errors.mli | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/type_errors.mli b/kernel/type_errors.mli index 70f444987c..aaf278c271 100644 --- a/kernel/type_errors.mli +++ b/kernel/type_errors.mli @@ -33,6 +33,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 |
