File tree Expand file tree Collapse file tree 2 files changed +24
-21
lines changed Expand file tree Collapse file tree 2 files changed +24
-21
lines changed Original file line number Diff line number Diff line change @@ -228,15 +228,16 @@ let expr_mapper ~async_context ~in_function_def (self : mapper)
228
228
let safe_module_type_lid : Ast_helper.lid =
229
229
{txt = Lident (local_module_type_name txt); loc = me.pmod_loc}
230
230
in
231
- {
232
- e with
233
- pexp_desc =
234
- Pexp_letmodule
235
- ( lid,
236
- Ast_await. create_await_module_expression
237
- ~module_type_lid: safe_module_type_lid me,
238
- expr );
239
- }
231
+ self.expr self
232
+ {
233
+ e with
234
+ pexp_desc =
235
+ Pexp_letmodule
236
+ ( lid,
237
+ Ast_await. create_await_module_expression
238
+ ~module_type_lid: safe_module_type_lid me,
239
+ expr );
240
+ }
240
241
(* module M = await (Belt.List: BeltList) *)
241
242
| Pexp_letmodule
242
243
( lid,
@@ -248,15 +249,16 @@ let expr_mapper ~async_context ~in_function_def (self : mapper)
248
249
} as me),
249
250
expr )
250
251
when Res_parsetree_viewer. hasAwaitAttribute pmod_attributes ->
251
- {
252
- e with
253
- pexp_desc =
254
- Pexp_letmodule
255
- ( lid,
256
- Ast_await. create_await_module_expression ~module_type_lid: mtyp_lid
257
- me,
258
- expr );
259
- }
252
+ self.expr self
253
+ {
254
+ e with
255
+ pexp_desc =
256
+ Pexp_letmodule
257
+ ( lid,
258
+ Ast_await. create_await_module_expression ~module_type_lid: mtyp_lid
259
+ me,
260
+ expr );
261
+ }
260
262
| _ -> default_expr_mapper self e
261
263
262
264
let expr_mapper ~async_context ~in_function_def (self : mapper )
You can’t perform that action at this time.
0 commit comments