File tree 2 files changed +5
-8
lines changed
tests/build_tests/super_errors/expected
2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -1267,10 +1267,7 @@ let map_binding ~config ~empty_loc ~pstr_loc ~file_name ~rec_flag binding =
1267
1267
[(Nolabel , Exp. ident {txt = Lident " props" ; loc})]))
1268
1268
in
1269
1269
1270
- let wrapper_expr =
1271
- Ast_uncurried. uncurried_fun ~loc: wrapper_expr.pexp_loc ~arity: 1
1272
- wrapper_expr
1273
- in
1270
+ let wrapper_expr = Ast_uncurried. uncurried_fun ~arity: 1 wrapper_expr in
1274
1271
1275
1272
let internal_expression =
1276
1273
Exp. let_ Nonrecursive
Original file line number Diff line number Diff line change 1
1
2
2
[1;31mWe've found a bug for you![0m
3
- [36m/.../fixtures/react_component_with_props.res[0m:[2m4:5 -13:10[0m
3
+ [36m/.../fixtures/react_component_with_props.res[0m:[2m3:31 -13:10[0m
4
4
5
+ 1 [2m│[0m module V4C7 = {
5
6
2 [2m│[0m @react.componentWithProps
6
- 3 [2m│[0m let make = React.forwardRef((
7
- [1;31m4[0m [2m│[0m [1;31m~className=?,[0m
8
- [1;31m5[0m [2m│[0m [1;31m ~children,[0m
7
+ [1;31m3[0m [2m│[0m let make = React.forwardRef([1;31m([0m
8
+ [1;31m4[0m [2m│[0m [1;31m ~className=?,[0m
9
9
[2m.[0m [2m│[0m [2m...[0m
10
10
[1;31m12[0m [2m│[0m [1;31m children[0m
11
11
[1;31m13[0m [2m│[0m [1;31m </div>[0m
You can’t perform that action at this time.
0 commit comments