diff options
author | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 1999-12-09 23:20:18 +0000 |
---|---|---|
committer | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 1999-12-09 23:20:18 +0000 |
commit | baa3e16836c3f0daf24ba47aadbdee525762d6ec (patch) | |
tree | 4841eb29be562802e06f9aa3f72ccda37daa5814 /pretyping/pretype_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 'pretyping/pretype_errors.mli')
-rw-r--r-- | pretyping/pretype_errors.mli | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pretyping/pretype_errors.mli b/pretyping/pretype_errors.mli index 33238ecd9..6d39fdd31 100644 --- a/pretyping/pretype_errors.mli +++ b/pretyping/pretype_errors.mli @@ -24,6 +24,25 @@ val error_ill_formed_branch_loc : val error_number_branches_loc : loc -> path_kind -> env -> constr -> constr -> int -> 'b +val error_case_not_inductive_loc : + loc -> path_kind -> env -> constr -> constr -> 'b + +(* Pattern-matching errors *) + +val error_bad_constructor_loc : + loc -> path_kind -> constructor_path -> inductive_path -> 'b + +val error_wrong_numarg_constructor_loc : + loc -> path_kind -> constructor_path -> int -> 'b + +val error_wrong_predicate_arity_loc : + loc -> path_kind -> env -> constr -> int -> int -> 'b + +val error_needs_inversion : path_kind -> env -> constr -> constr -> 'a + + +(* Implicit arguments synthesis errors *) + val error_occur_check : path_kind -> env -> int -> constr -> 'a val error_not_clean : path_kind -> env -> int -> constr -> 'a |