Skip to content

Commit 671f520

Browse files
committed
Commit changes in test
1 parent 50fe0b2 commit 671f520

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

jscomp/syntax/tests/printer/typexpr/expected/arrow.res.txt

+22-22
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,13 @@ type t = (
125125
type t = (@attr string, @attr float) => unit
126126
type t = (@attr @attr2 string, @attr @attr2 float, @attr3 int) => unit
127127

128-
type t = @attr string => unit
128+
type t = @attr (string => unit)
129129
type t = @attr (foo, bar, baz) => unit
130130
type t = @attr (foo, @attr2 ~f: bar, @attr3 ~f: baz) => unit
131131

132-
type t = @attr string => @attr int => unit
132+
type t = @attr (string => @attr (int => unit))
133133
type t = @attr (string, int) => @attr (int, float) => unit
134-
type t = @attr int => @attr (int, float) => @attr unit => unit => unit
134+
type t = @attr (int => @attr (int, float) => @attr (unit => unit => unit))
135135
type t = @attr (@attr2 ~f: int, @attr3 ~g: float) => unit
136136

137137
type f = (
@@ -144,50 +144,50 @@ type f = (
144144
@attr3 ~h: ccccrazysldkfjslkdjflksdjkf=?,
145145
) => unit
146146

147-
type t = @attr
148-
stringWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong => @attr2
149-
floatWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong => @attr3
150-
intWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong => unitWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong
147+
type t = @attr (
148+
stringWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong => @attr2 (
149+
floatWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong => @attr3 (
150+
intWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong => unitWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong
151+
)
152+
)
153+
)
151154

152-
type t = @attr
153-
(
155+
type t = @attr (
154156
fooWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong,
155157
barWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong,
156158
bazWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong,
157-
) => @attr2
158-
(
159+
) => @attr2 (
159160
stringWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong,
160161
floatWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong,
161162
) => unit
162163

163164
type t = @attr
164165
@attrWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong
165-
@attrWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong
166-
(
166+
@attrWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong (
167167
fooWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong,
168168
barWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong,
169169
bazWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong,
170170
) => @attr2
171171
@attrWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong
172-
@attrWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong
173-
(
172+
@attrWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong (
174173
stringWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong,
175174
floatWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong,
176175
) => unit
177176

178177
external debounce: (int, @meth unit) => unit = "debounce"
179178

180-
external debounce: int => @meth unit => unit = "debounce"
179+
external debounce: int => @meth (unit => unit) = "debounce"
181180

182-
external debounce: (int, @meth unit => unit) => @meth unit => unit = "debounce"
181+
external debounce: (int, @meth (unit => unit)) => @meth (unit => unit) = "debounce"
183182

184-
external debounce: (int, @meth unit => unit, @meth unit => unit) => @meth unit => unit = "debounce"
183+
external debounce: (int, @meth (unit => unit), @meth (unit => unit)) => @meth (unit => unit) =
184+
"debounce"
185185

186186
external debounce: (
187187
int,
188-
@meth unit => unit,
189-
@meth unit => @meth unit => unit,
190-
) => @meth unit => unit = "debounce"
188+
@meth (unit => unit),
189+
@meth (unit => @meth (unit => unit)),
190+
) => @meth (unit => unit) = "debounce"
191191

192192
type returnTyp = (int, int) => @magic float
193193
type returnTyp = (
@@ -214,7 +214,7 @@ type t = (@attrOnInt int, @attrOnInt int, @attrOnInt int, @attrOnInt int) => int
214214
type t = (@attr ~x: int, ~y: int, @attr ~z: int, @attr ~omega: int) => unit
215215

216216
@val external requestAnimationFrame: (float => unit) => unit = "requestAnimationFrame"
217-
@val external requestAnimationFrame: @attr (float => unit) => unit = "requestAnimationFrame"
217+
@val external requestAnimationFrame: @attr ((float => unit) => unit) = "requestAnimationFrame"
218218

219219
type arrows = (int, (float => unit) => unit, float) => unit
220220

0 commit comments

Comments
 (0)