We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b3b5897 + 68aa8d6 commit f0fde37Copy full SHA for f0fde37
typing/typemod.ml
@@ -1130,7 +1130,7 @@ let rec type_module ?(implicit_arity=0) ?(alias=false) sttn funct_body anchor en
1130
id, env, true
1131
in
1132
let implicit_arity = pred implicit_arity in
1133
- let body = type_module ~implicit_arity sttn true None newenv sbody in
+ let body = type_module ~implicit_arity sttn funct_body None newenv sbody in
1134
rm { mod_desc = Tmod_functor(id, name, mty, body);
1135
mod_type = Mty_functor(id, ty_arg, body.mod_type);
1136
mod_env = env;
0 commit comments