Skip to content

Commit

Permalink
merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianoc committed Dec 18, 2024
1 parent 4f961ab commit 65b1c68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
5 changes: 1 addition & 4 deletions compiler/syntax/src/jsx_v4.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1267,10 +1267,7 @@ let map_binding ~config ~empty_loc ~pstr_loc ~file_name ~rec_flag binding =
[(Nolabel, Exp.ident {txt = Lident "props"; loc})]))
in

let wrapper_expr =
Ast_uncurried.uncurried_fun ~loc:wrapper_expr.pexp_loc ~arity:1
wrapper_expr
in
let wrapper_expr = Ast_uncurried.uncurried_fun ~arity:1 wrapper_expr in

let internal_expression =
Exp.let_ Nonrecursive
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

We've found a bug for you!
/.../fixtures/react_component_with_props.res:4:5-13:10
/.../fixtures/react_component_with_props.res:3:31-13:10

1 │ module V4C7 = {
2 │ @react.componentWithProps
3 │ let make = React.forwardRef((
4 │ ~className=?,
5 │  ~children,
3 │ let make = React.forwardRef((
4 │  ~className=?,
. │ ...
12 │  children
13 │  </div>
Expand Down

0 comments on commit 65b1c68

Please sign in to comment.