File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
tests/syntax_tests/data/ppx/react/expected Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -78,8 +78,6 @@ let rec constrain_jsx_return ~loc expr =
78
78
}
79
79
| _ -> jsx_element_constraint ~loc expr
80
80
81
- let merlin_focus = ({loc = Location. none; txt = " merlin.focus" }, PStr [] )
82
-
83
81
(* Helper method to filter out any attribute that isn't [@react.component] *)
84
82
let other_attrs_pure (loc , _ ) =
85
83
match loc.txt with
@@ -105,7 +103,7 @@ let make_new_binding binding expression new_name =
105
103
pvb_pat =
106
104
{pvb_pat with ppat_desc = Ppat_var {ppat_var with txt = new_name}};
107
105
pvb_expr = expression;
108
- pvb_attributes = [merlin_focus ];
106
+ pvb_attributes = [] ;
109
107
}
110
108
| {pvb_loc} ->
111
109
Jsx_common. raise_error ~loc: pvb_loc
Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ module Rec = {
57
57
type props = {}
58
58
59
59
let rec make = {
60
- @merlin.focus
61
60
let \"make$Internal" = (_: props): Jsx.element => {
62
61
make(({}: props))
63
62
}
@@ -75,7 +74,6 @@ module Rec1 = {
75
74
type props = {}
76
75
77
76
let rec make = {
78
- @merlin.focus
79
77
let \"make$Internal" = (_: props): Jsx.element => {
80
78
React.null
81
79
}
@@ -93,7 +91,6 @@ module Rec2 = {
93
91
type props = {}
94
92
95
93
let rec make = {
96
- @merlin.focus
97
94
let \"make$Internal" = (_: props): Jsx.element => {
98
95
mm(({}: props))
99
96
}
You can’t perform that action at this time.
0 commit comments