We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4d70de commit 8ad9e03Copy full SHA for 8ad9e03
res_syntax/src/reactjs_jsx_v4.ml
@@ -1254,7 +1254,8 @@ let transformStructureItem ~config mapper item =
1254
List.fold_right otherStructures structuresAndBinding ([], [], [])
1255
in
1256
types
1257
- @ [{pstr_loc; pstr_desc = Pstr_value (recFlag, bindings)}]
+ (* No need to be Recursive as internal representation is called *)
1258
+ @ [{pstr_loc; pstr_desc = Pstr_value (Nonrecursive, bindings)}]
1259
@
1260
match newBindings with
1261
| [] -> []
res_syntax/tests/ppx/react/expected/v4.res.txt
@@ -49,7 +49,7 @@ module EUncurried = {
49
module Rec = {
50
type props = {}
51
52
- let rec make = {
+ let make = {
53
@merlin.focus
54
let rec \"make$Internal" = (_: props) => {
55
make(({}: props))
0 commit comments