We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c38b28 commit 097bfd9Copy full SHA for 097bfd9
1 file changed
compiler/syntax/src/jsx_v4.ml
@@ -1331,8 +1331,11 @@ let mk_uppercase_tag_name_expr tag_name =
1331
1332
let expr ~(config : Jsx_common.jsx_config) mapper expression =
1333
match expression with
1334
- | {pexp_desc = Pexp_letmodule (name, module_expr, body); pexp_loc = loc; pexp_attributes = attrs}
1335
- ->
+ | {
+ pexp_desc = Pexp_letmodule (name, module_expr, body);
1336
+ pexp_loc = loc;
1337
+ pexp_attributes = attrs;
1338
+ } ->
1339
config.nested_modules <- name.txt :: config.nested_modules;
1340
let mapped_module_expr = default_mapper.module_expr mapper module_expr in
1341
let mapped_body = mapper.expr mapper body in
0 commit comments