Skip to content

Commit bd837e2

Browse files
committed
Remove @meth in test
1 parent c169d85 commit bd837e2

File tree

2 files changed

+10
-15
lines changed

2 files changed

+10
-15
lines changed

tests/syntax_tests/data/printer/typexpr/arrow.res

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ type t = @attr (fooWithSuperLongIdentifierNameLooooooooooooooooooooooooooooooooo
6767
type t = @attr @attrWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong @attrWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong (fooWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong, barWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong, bazWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong) => @attr2 @attrWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong @attrWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong (stringWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong, floatWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong) => unit
6868

6969

70-
external debounce: (int, @meth unit) => unit = "debounce";
70+
external debounce: (int, unit) => unit = "debounce";
7171

72-
external debounce: int => @meth (unit => unit) = "debounce";
72+
external debounce: int => (unit => unit) = "debounce";
7373

74-
external debounce: (int, @meth (unit => unit)) => @meth (unit => unit) = "debounce";
74+
external debounce: (int, (unit => unit)) => (unit => unit) = "debounce";
7575

76-
external debounce: (int, @meth (unit => unit), @meth (unit => unit)) => @meth (unit => unit) = "debounce";
76+
external debounce: (int, (unit => unit), (unit => unit)) => (unit => unit) = "debounce";
7777

78-
external debounce: (int, @meth (unit => unit), @meth ( unit => @meth (unit => unit))) => @meth (unit => unit) = "debounce";
78+
external debounce: (int, (unit => unit), ( unit => (unit => unit))) => (unit => unit) = "debounce";
7979

8080
type returnTyp = (int, int) => @magic float
8181
type returnTyp = (intWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong, intWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong) => @magic float

tests/syntax_tests/data/printer/typexpr/expected/arrow.res.txt

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -174,20 +174,15 @@ type t = @attr
174174
floatWithSuperLongIdentifierNameLoooooooooooooooooooooooooooooooooooooooooooooong,
175175
) => unit
176176

177-
external debounce: (int, @meth unit) => unit = "debounce"
177+
external debounce: (int, unit) => unit = "debounce"
178178

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

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

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

186-
external debounce: (
187-
int,
188-
@meth (unit => unit),
189-
@meth (unit => @meth (unit => unit)),
190-
) => @meth (unit => unit) = "debounce"
185+
external debounce: (int, unit => unit, unit => unit => unit) => unit => unit = "debounce"
191186

192187
type returnTyp = (int, int) => @magic float
193188
type returnTyp = (

0 commit comments

Comments
 (0)