Skip to content

Commit 097bfd9

Browse files
Format
1 parent 0c38b28 commit 097bfd9

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

compiler/syntax/src/jsx_v4.ml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,8 +1331,11 @@ let mk_uppercase_tag_name_expr tag_name =
13311331

13321332
let expr ~(config : Jsx_common.jsx_config) mapper expression =
13331333
match expression with
1334-
| {pexp_desc = Pexp_letmodule (name, module_expr, body); pexp_loc = loc; pexp_attributes = attrs}
1335-
->
1334+
| {
1335+
pexp_desc = Pexp_letmodule (name, module_expr, body);
1336+
pexp_loc = loc;
1337+
pexp_attributes = attrs;
1338+
} ->
13361339
config.nested_modules <- name.txt :: config.nested_modules;
13371340
let mapped_module_expr = default_mapper.module_expr mapper module_expr in
13381341
let mapped_body = mapper.expr mapper body in

0 commit comments

Comments
 (0)