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 =
216
216
debug_string [`Module ] " --> declare_module" ;
217
217
let open Declarations in
218
218
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
220
220
| Algebraic _, NoFunctor fields
221
221
| FullStruct , NoFunctor fields ->
222
222
let id = id_of_module_path mp in
@@ -299,7 +299,7 @@ and declare_module ~opaque_access ?(continuation = ignore) ?name arity mb =
299
299
end
300
300
| (lab, SFBmodule mb') when
301
301
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 )
303
303
| _ -> false
304
304
->
305
305
declare_module ~opaque_access ~continuation arity mb'
You can’t perform that action at this time.
0 commit comments