aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping/cases.mli
diff options
context:
space:
mode:
Diffstat (limited to 'pretyping/cases.mli')
-rw-r--r--pretyping/cases.mli5
1 files changed, 5 insertions, 0 deletions
diff --git a/pretyping/cases.mli b/pretyping/cases.mli
index 7da7abcce..da9dce2a6 100644
--- a/pretyping/cases.mli
+++ b/pretyping/cases.mli
@@ -23,6 +23,7 @@ type pattern_matching_error =
| BadPattern of constructor * constr
| BadConstructor of constructor * inductive
| WrongNumargConstructor of constructor * int
+ | WrongNumargInductive of inductive * int
| WrongPredicateArity of constr * constr * constr
| NeedsInversion of constr * constr
| UnusedClause of cases_pattern list
@@ -31,6 +32,10 @@ type pattern_matching_error =
exception PatternMatchingError of env * pattern_matching_error
+val error_wrong_numarg_constructor_loc : loc -> env -> constructor -> int -> 'a
+
+val error_wrong_numarg_inductive_loc : loc -> env -> inductive -> int -> 'a
+
(*s Used for old cases in pretyping *)
val branch_scheme :