Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Add loc for returned component body #633

Merged
merged 3 commits into from
Sep 14, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/reactjs_jsx_ppx.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2331,7 +2331,7 @@ module V4 = struct
(Pat.var ~loc:emptyLoc {loc = emptyLoc; txt})
fullExpression;
]
(Exp.ident ~loc:emptyLoc {loc = emptyLoc; txt = Lident txt})
(Exp.ident ~loc:pstr_loc {loc = emptyLoc; txt = Lident txt})
in
let stripConstraint pattern =
match pattern with
Expand Down