There was an error while loading. Please reload this page.
1 parent 28cfceb commit bd46a3eCopy full SHA for bd46a3e
1 file changed
compiler/syntax/src/res_core.ml
@@ -2711,8 +2711,8 @@ and parse_jsx_fragment start_pos p =
2711
let children = parse_jsx_children p in
2712
let children_end_pos = p.Parser.start_pos in
2713
Parser.expect LessThan p;
2714
- let end_pos = p.Parser.end_pos in
2715
Parser.expect Forwardslash p;
+ let end_pos = p.Parser.end_pos in
2716
Parser.expect GreaterThan p;
2717
(* location is from starting < till closing > *)
2718
let loc = mk_loc start_pos end_pos in
0 commit comments