aboutsummaryrefslogtreecommitdiff
path: root/kernel/modops.ml
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/modops.ml')
-rw-r--r--kernel/modops.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/modops.ml b/kernel/modops.ml
index 166b230077..5fece5b1fd 100644
--- a/kernel/modops.ml
+++ b/kernel/modops.ml
@@ -211,7 +211,7 @@ let resolver_of_environment mbid modtype mp env =
if constant.Declarations.const_opaque then
None
else
- option_app Declarations.force
+ option_map Declarations.force
constant.Declarations.const_body
with Not_found -> error_no_such_label (con_label con')
in