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, 4 insertions, 0 deletions
diff --git a/kernel/type_errors.ml b/kernel/type_errors.ml
index 5806e33641..a79dbcf3c9 100644
--- a/kernel/type_errors.ml
+++ b/kernel/type_errors.ml
@@ -59,6 +59,8 @@ type type_error =
| WrongNumargConstructor of constructor_path * int
| WrongPredicateArity of constr * int * int
| NeedsInversion of constr * constr
+ (* Relocation error *)
+ | GlobalNotFound of section_path
exception TypeError of path_kind * env * type_error
diff --git a/kernel/type_errors.mli b/kernel/type_errors.mli
index 01dbeb5359..9a2504ff80 100644
--- a/kernel/type_errors.mli
+++ b/kernel/type_errors.mli
@@ -63,6 +63,8 @@ type type_error =
| WrongNumargConstructor of constructor_path * int
| WrongPredicateArity of constr * int * int
| NeedsInversion of constr * constr
+ (* Relocation error *)
+ | GlobalNotFound of section_path
exception TypeError of path_kind * env * type_error