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