aboutsummaryrefslogtreecommitdiffhomepage
path: root/kernel/type_errors.ml
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/type_errors.ml')
-rw-r--r--kernel/type_errors.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/type_errors.ml b/kernel/type_errors.ml
index 34dee81c8..f96b0b9a1 100644
--- a/kernel/type_errors.ml
+++ b/kernel/type_errors.ml
@@ -54,6 +54,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