aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/modops.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/modops.ml b/kernel/modops.ml
index 390461d5a0..7b4c3095d8 100644
--- a/kernel/modops.ml
+++ b/kernel/modops.ml
@@ -213,7 +213,7 @@ let resolver_of_environment mbid modtype mp env =
else
option_app Declarations.force
constant.Declarations.const_body
- with Not_found -> assert false
+ with Not_found -> error_no_such_label (con_label con')
in
con,constr
) constants