File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ and declare_module ~opaque_access ?(continuation = ignore) ?name arity mb =
216216 debug_string [`Module ] " --> declare_module" ;
217217 let open Declarations in
218218 let mp = mb.mod_mp in
219- match mb .mod_expr, mb.mod_type with
219+ match Declareops . mod_expr mb , mb.mod_type with
220220 | Algebraic _, NoFunctor fields
221221 | FullStruct , NoFunctor fields ->
222222 let id = id_of_module_path mp in
@@ -299,7 +299,7 @@ and declare_module ~opaque_access ?(continuation = ignore) ?name arity mb =
299299 end
300300 | (lab, SFBmodule mb') when
301301 match mb'.mod_type with NoFunctor _ ->
302- (match mb' .mod_expr with FullStruct | Algebraic _ -> true | _ -> false )
302+ (match Declareops . mod_expr mb' with FullStruct | Algebraic _ -> true | _ -> false )
303303 | _ -> false
304304 ->
305305 declare_module ~opaque_access ~continuation arity mb'
You can’t perform that action at this time.
0 commit comments