File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -545,13 +545,13 @@ let rec structure_mapper ~await_context (self : mapper) (stru : Ast_structure.t)
545
545
match has_local_module_name with
546
546
| Some _ -> []
547
547
| None ->
548
- let open Ast_helper in
549
548
Hashtbl. add ! await_context safe_module_type_name safe_module_type_name;
550
549
[
551
- Str. modtype ~loc
552
- (Mtd. mk ~loc
553
- {txt = safe_module_type_name; loc}
554
- ~typ: (Mty. typeof_ ~loc me));
550
+ Ast_helper. (
551
+ Str. modtype ~loc
552
+ (Mtd. mk ~loc
553
+ {txt = safe_module_type_name; loc}
554
+ ~typ: (Mty. typeof_ ~loc me)));
555
555
]
556
556
in
557
557
let safe_module_type_lid : Ast_helper.lid =
@@ -596,14 +596,14 @@ let rec structure_mapper ~await_context (self : mapper) (stru : Ast_structure.t)
596
596
match has_local_module_name with
597
597
| Some _ -> None
598
598
| None ->
599
- let open Ast_helper in
600
599
Hashtbl. add ! await_context safe_module_type_name
601
600
safe_module_type_name;
602
601
Some
603
- (Str. modtype ~loc
604
- (Mtd. mk ~loc
605
- {txt = safe_module_type_name; loc}
606
- ~typ: (Mty. typeof_ ~loc me))))
602
+ Ast_helper. (
603
+ Str. modtype ~loc
604
+ (Mtd. mk ~loc
605
+ {txt = safe_module_type_name; loc}
606
+ ~typ: (Mty. typeof_ ~loc me))))
607
607
| _ -> None )
608
608
in
609
609
module_type_decls @ (item :: structure_mapper ~await_context self rest)
You can’t perform that action at this time.
0 commit comments