aboutsummaryrefslogtreecommitdiff
path: root/kernel/type_errors.mli
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/type_errors.mli')
-rw-r--r--kernel/type_errors.mli1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/type_errors.mli b/kernel/type_errors.mli
index f5e16f3c47..d8031350c9 100644
--- a/kernel/type_errors.mli
+++ b/kernel/type_errors.mli
@@ -58,6 +58,7 @@ type type_error =
| UnexpectedType of constr * constr
| NotProduct of constr
(* Pattern-matching errors *)
+ | BadPattern of constructor * constr
| BadConstructor of constructor * inductive
| WrongNumargConstructor of constructor_path * int
| WrongPredicateArity of constr * int * int