aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/type_errors.ml2
-rw-r--r--kernel/type_errors.mli2
2 files changed, 2 insertions, 2 deletions
diff --git a/kernel/type_errors.ml b/kernel/type_errors.ml
index 39223c726c..269e30fca7 100644
--- a/kernel/type_errors.ml
+++ b/kernel/type_errors.ml
@@ -57,7 +57,7 @@ type type_error =
| BadPattern of constructor * constr
| BadConstructor of constructor * inductive
| WrongNumargConstructor of constructor_path * int
- | WrongPredicateArity of constr * int * int
+ | WrongPredicateArity of constr * constr * constr
| NeedsInversion of constr * constr
(* Relocation error *)
| QualidNotFound of qualid
diff --git a/kernel/type_errors.mli b/kernel/type_errors.mli
index 670a9f5dea..22c6bff998 100644
--- a/kernel/type_errors.mli
+++ b/kernel/type_errors.mli
@@ -61,7 +61,7 @@ type type_error =
| BadPattern of constructor * constr
| BadConstructor of constructor * inductive
| WrongNumargConstructor of constructor_path * int
- | WrongPredicateArity of constr * int * int
+ | WrongPredicateArity of constr * constr * constr
| NeedsInversion of constr * constr
(* Relocation error *)
| QualidNotFound of qualid