Skip to content

Commit 8a265fb

Browse files
committed
update baselines
1 parent 30e131a commit 8a265fb

8 files changed

+17
-17
lines changed

tests/baselines/reference/callOverload.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
tests/cases/conformance/expressions/functionCalls/callOverload.ts(7,7): error TS2554: Expected 1 arguments, but got 4.
22
tests/cases/conformance/expressions/functionCalls/callOverload.ts(8,15): error TS2554: Expected 2 arguments, but got 4.
33
tests/cases/conformance/expressions/functionCalls/callOverload.ts(10,1): error TS2555: Expected at least 1 arguments, but got 0.
4-
tests/cases/conformance/expressions/functionCalls/callOverload.ts(11,10): error TS2557: Expected at least 1 arguments, but after 0, found a spread that must be passed to a rest parameter.
4+
tests/cases/conformance/expressions/functionCalls/callOverload.ts(11,10): error TS2556: A spread must either have a tuple type or be passed to a rest parameter.
55

66

77
==== tests/cases/conformance/expressions/functionCalls/callOverload.ts (4 errors) ====
@@ -24,4 +24,4 @@ tests/cases/conformance/expressions/functionCalls/callOverload.ts(11,10): error
2424
!!! related TS6210 tests/cases/conformance/expressions/functionCalls/callOverload.ts:3:27: An argument for 'a' was not provided.
2525
withRest(...n);
2626
~~~~
27-
!!! error TS2557: Expected at least 1 arguments, but after 0, found a spread that must be passed to a rest parameter.
27+
!!! error TS2556: A spread must either have a tuple type or be passed to a rest parameter.

tests/baselines/reference/functionParameterArityMismatch.errors.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ tests/cases/compiler/functionParameterArityMismatch.ts(11,1): error TS2575: No o
55
tests/cases/compiler/functionParameterArityMismatch.ts(12,1): error TS2575: No overload expects 3 arguments, but overloads do exist that expect either 2 or 4 arguments.
66
tests/cases/compiler/functionParameterArityMismatch.ts(13,1): error TS2575: No overload expects 5 arguments, but overloads do exist that expect either 4 or 6 arguments.
77
tests/cases/compiler/functionParameterArityMismatch.ts(14,22): error TS2554: Expected 0-6 arguments, but got 7.
8-
tests/cases/compiler/functionParameterArityMismatch.ts(15,4): error TS2556: Expected 0-6 arguments, but after 0, found a spread that must be passed to a rest parameter.
8+
tests/cases/compiler/functionParameterArityMismatch.ts(15,4): error TS2556: A spread must either have a tuple type or be passed to a rest parameter.
99

1010

1111
==== tests/cases/compiler/functionParameterArityMismatch.ts (8 errors) ====
@@ -39,6 +39,6 @@ tests/cases/compiler/functionParameterArityMismatch.ts(15,4): error TS2556: Expe
3939
~
4040
!!! error TS2554: Expected 0-6 arguments, but got 7.
4141
f2(...[1], 2, 3, 4, 5, 6);
42-
~~~~~~~~~~~~~~~~~~~~~
43-
!!! error TS2556: Expected 0-6 arguments, but after 0, found a spread that must be passed to a rest parameter.
42+
~~~~~~
43+
!!! error TS2556: A spread must either have a tuple type or be passed to a rest parameter.
4444

tests/baselines/reference/iteratorSpreadInCall.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tests/cases/conformance/es6/spread/iteratorSpreadInCall.ts(15,5): error TS2556: Expected 1 arguments, but after 0, found a spread that must be passed to a rest parameter.
1+
tests/cases/conformance/es6/spread/iteratorSpreadInCall.ts(15,5): error TS2556: A spread must either have a tuple type or be passed to a rest parameter.
22

33

44
==== tests/cases/conformance/es6/spread/iteratorSpreadInCall.ts (1 errors) ====
@@ -18,4 +18,4 @@ tests/cases/conformance/es6/spread/iteratorSpreadInCall.ts(15,5): error TS2556:
1818

1919
foo(...new SymbolIterator);
2020
~~~~~~~~~~~~~~~~~~~~~
21-
!!! error TS2556: Expected 1 arguments, but after 0, found a spread that must be passed to a rest parameter.
21+
!!! error TS2556: A spread must either have a tuple type or be passed to a rest parameter.

tests/baselines/reference/iteratorSpreadInCall10.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tests/cases/conformance/es6/spread/iteratorSpreadInCall10.ts(15,5): error TS2556: Expected 1 arguments, but after 0, found a spread that must be passed to a rest parameter.
1+
tests/cases/conformance/es6/spread/iteratorSpreadInCall10.ts(15,5): error TS2556: A spread must either have a tuple type or be passed to a rest parameter.
22

33

44
==== tests/cases/conformance/es6/spread/iteratorSpreadInCall10.ts (1 errors) ====
@@ -18,4 +18,4 @@ tests/cases/conformance/es6/spread/iteratorSpreadInCall10.ts(15,5): error TS2556
1818

1919
foo(...new SymbolIterator);
2020
~~~~~~~~~~~~~~~~~~~~~
21-
!!! error TS2556: Expected 1 arguments, but after 0, found a spread that must be passed to a rest parameter.
21+
!!! error TS2556: A spread must either have a tuple type or be passed to a rest parameter.

tests/baselines/reference/iteratorSpreadInCall2.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tests/cases/conformance/es6/spread/iteratorSpreadInCall2.ts(15,5): error TS2556: Expected 1 arguments, but after 0, found a spread that must be passed to a rest parameter.
1+
tests/cases/conformance/es6/spread/iteratorSpreadInCall2.ts(15,5): error TS2556: A spread must either have a tuple type or be passed to a rest parameter.
22

33

44
==== tests/cases/conformance/es6/spread/iteratorSpreadInCall2.ts (1 errors) ====
@@ -18,4 +18,4 @@ tests/cases/conformance/es6/spread/iteratorSpreadInCall2.ts(15,5): error TS2556:
1818

1919
foo(...new SymbolIterator);
2020
~~~~~~~~~~~~~~~~~~~~~
21-
!!! error TS2556: Expected 1 arguments, but after 0, found a spread that must be passed to a rest parameter.
21+
!!! error TS2556: A spread must either have a tuple type or be passed to a rest parameter.

tests/baselines/reference/iteratorSpreadInCall4.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tests/cases/conformance/es6/spread/iteratorSpreadInCall4.ts(15,5): error TS2557: Expected at least 1 arguments, but after 0, found a spread that must be passed to a rest parameter.
1+
tests/cases/conformance/es6/spread/iteratorSpreadInCall4.ts(15,5): error TS2556: A spread must either have a tuple type or be passed to a rest parameter.
22

33

44
==== tests/cases/conformance/es6/spread/iteratorSpreadInCall4.ts (1 errors) ====
@@ -18,4 +18,4 @@ tests/cases/conformance/es6/spread/iteratorSpreadInCall4.ts(15,5): error TS2557:
1818

1919
foo(...new SymbolIterator);
2020
~~~~~~~~~~~~~~~~~~~~~
21-
!!! error TS2557: Expected at least 1 arguments, but after 0, found a spread that must be passed to a rest parameter.
21+
!!! error TS2556: A spread must either have a tuple type or be passed to a rest parameter.

tests/baselines/reference/noImplicitAnyLoopCrash.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tests/cases/compiler/noImplicitAnyLoopCrash.ts(4,16): error TS2556: Expected 0 arguments, but after 0, found a spread that must be passed to a rest parameter.
1+
tests/cases/compiler/noImplicitAnyLoopCrash.ts(4,16): error TS2556: A spread must either have a tuple type or be passed to a rest parameter.
22
tests/cases/compiler/noImplicitAnyLoopCrash.ts(4,19): error TS2461: Type 'number' is not an array type.
33

44

@@ -8,7 +8,7 @@ tests/cases/compiler/noImplicitAnyLoopCrash.ts(4,19): error TS2461: Type 'number
88
while (1) {
99
bar = ~foo(...bar);
1010
~~~~~~
11-
!!! error TS2556: Expected 0 arguments, but after 0, found a spread that must be passed to a rest parameter.
11+
!!! error TS2556: A spread must either have a tuple type or be passed to a rest parameter.
1212
~~~
1313
!!! error TS2461: Type 'number' is not an array type.
1414
}

tests/baselines/reference/readonlyRestParameters.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tests/cases/conformance/es6/restParameters/readonlyRestParameters.ts(8,8): error TS2556: Expected 2 arguments, but after 0, found a spread that must be passed to a rest parameter.
1+
tests/cases/conformance/es6/restParameters/readonlyRestParameters.ts(8,8): error TS2556: A spread must either have a tuple type or be passed to a rest parameter.
22
tests/cases/conformance/es6/restParameters/readonlyRestParameters.ts(20,15): error TS2554: Expected 2 arguments, but got 3.
33
tests/cases/conformance/es6/restParameters/readonlyRestParameters.ts(25,5): error TS2542: Index signature in type 'readonly string[]' only permits reading.
44

@@ -13,7 +13,7 @@ tests/cases/conformance/es6/restParameters/readonlyRestParameters.ts(25,5): erro
1313
function f1(...args: readonly string[]) {
1414
f0(...args); // Error
1515
~~~~~~~
16-
!!! error TS2556: Expected 2 arguments, but after 0, found a spread that must be passed to a rest parameter.
16+
!!! error TS2556: A spread must either have a tuple type or be passed to a rest parameter.
1717
f1('abc', 'def');
1818
f1('abc', ...args);
1919
f1(...args);

0 commit comments

Comments
 (0)