Skip to content

Commit 339f310

Browse files
committed
Accept new baselines
1 parent df1e33a commit 339f310

18 files changed

+94
-94
lines changed

tests/baselines/reference/destructuringParameterDeclaration4.errors.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ tests/cases/conformance/es6/destructuring/destructuringParameterDeclaration4.ts(
4343
a1(...array2); // Error parameter type is (number|string)[]
4444
~~~~~~
4545
!!! error TS2552: Cannot find name 'array2'. Did you mean 'Array'?
46-
!!! related TS2728 /.ts/lib.es5.d.ts:1356:15: 'Array' is declared here.
46+
!!! related TS2728 /.ts/lib.es5.d.ts:1358:15: 'Array' is declared here.
4747
a5([1, 2, "string", false, true]); // Error, parameter type is [any, any, [[any]]]
4848
~~~~~~~~
4949
!!! error TS2322: Type 'string' is not assignable to type '[[any]]'.

tests/baselines/reference/externModule.errors.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,20 +69,20 @@ tests/cases/compiler/externModule.ts(37,3): error TS2552: Cannot find name 'XDat
6969
var d=new XDate();
7070
~~~~~
7171
!!! error TS2552: Cannot find name 'XDate'. Did you mean 'Date'?
72-
!!! related TS2728 /.ts/lib.es5.d.ts:895:15: 'Date' is declared here.
72+
!!! related TS2728 /.ts/lib.es5.d.ts:897:15: 'Date' is declared here.
7373
d.getDay();
7474
d=new XDate(1978,2);
7575
~~~~~
7676
!!! error TS2552: Cannot find name 'XDate'. Did you mean 'Date'?
77-
!!! related TS2728 /.ts/lib.es5.d.ts:895:15: 'Date' is declared here.
77+
!!! related TS2728 /.ts/lib.es5.d.ts:897:15: 'Date' is declared here.
7878
d.getXDate();
7979
var n=XDate.parse("3/2/2004");
8080
~~~~~
8181
!!! error TS2552: Cannot find name 'XDate'. Did you mean 'Date'?
82-
!!! related TS2728 /.ts/lib.es5.d.ts:895:15: 'Date' is declared here.
82+
!!! related TS2728 /.ts/lib.es5.d.ts:897:15: 'Date' is declared here.
8383
n=XDate.UTC(1964,2,1);
8484
~~~~~
8585
!!! error TS2552: Cannot find name 'XDate'. Did you mean 'Date'?
86-
!!! related TS2728 /.ts/lib.es5.d.ts:895:15: 'Date' is declared here.
86+
!!! related TS2728 /.ts/lib.es5.d.ts:897:15: 'Date' is declared here.
8787

8888

tests/baselines/reference/modularizeLibrary_ErrorFromUsingES6FeaturesWithOnlyES5Lib.errors.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ tests/cases/compiler/modularizeLibrary_ErrorFromUsingES6FeaturesWithOnlyES5Lib.t
4141
Math.sign(1);
4242
~~~~
4343
!!! error TS2551: Property 'sign' does not exist on type 'Math'. Did you mean 'sin'?
44-
!!! related TS2728 /.ts/lib.es5.d.ts:701:5: 'sin' is declared here.
44+
!!! related TS2728 /.ts/lib.es5.d.ts:703:5: 'sin' is declared here.
4545

4646
// Using ES6 object
4747
var o = {

tests/baselines/reference/narrowExceptionVariableInCatchClause.errors.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ tests/cases/conformance/types/any/narrowExceptionVariableInCatchClause.ts(16,17)
2424
err.massage; // ERROR: Property 'massage' does not exist on type 'Error'
2525
~~~~~~~
2626
!!! error TS2551: Property 'massage' does not exist on type 'Error'. Did you mean 'message'?
27-
!!! related TS2728 /.ts/lib.es5.d.ts:962:5: 'message' is declared here.
27+
!!! related TS2728 /.ts/lib.es5.d.ts:964:5: 'message' is declared here.
2828
}
2929

3030
else {

tests/baselines/reference/narrowFromAnyWithInstanceof.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ tests/cases/conformance/types/any/narrowFromAnyWithInstanceof.ts(22,7): error TS
2222
x.mesage;
2323
~~~~~~
2424
!!! error TS2551: Property 'mesage' does not exist on type 'Error'. Did you mean 'message'?
25-
!!! related TS2728 /.ts/lib.es5.d.ts:962:5: 'message' is declared here.
25+
!!! related TS2728 /.ts/lib.es5.d.ts:964:5: 'message' is declared here.
2626
}
2727

2828
if (x instanceof Date) {
2929
x.getDate();
3030
x.getHuors();
3131
~~~~~~~~
3232
!!! error TS2551: Property 'getHuors' does not exist on type 'Date'. Did you mean 'getHours'?
33-
!!! related TS2728 /.ts/lib.es5.d.ts:751:5: 'getHours' is declared here.
33+
!!! related TS2728 /.ts/lib.es5.d.ts:753:5: 'getHours' is declared here.
3434
}
3535

tests/baselines/reference/narrowFromAnyWithTypePredicate.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ tests/cases/conformance/types/any/narrowFromAnyWithTypePredicate.ts(33,7): error
3939
x.mesage;
4040
~~~~~~
4141
!!! error TS2551: Property 'mesage' does not exist on type 'Error'. Did you mean 'message'?
42-
!!! related TS2728 /.ts/lib.es5.d.ts:962:5: 'message' is declared here.
42+
!!! related TS2728 /.ts/lib.es5.d.ts:964:5: 'message' is declared here.
4343
}
4444

4545
if (isDate(x)) {
4646
x.getDate();
4747
x.getHuors();
4848
~~~~~~~~
4949
!!! error TS2551: Property 'getHuors' does not exist on type 'Date'. Did you mean 'getHours'?
50-
!!! related TS2728 /.ts/lib.es5.d.ts:751:5: 'getHours' is declared here.
50+
!!! related TS2728 /.ts/lib.es5.d.ts:753:5: 'getHours' is declared here.
5151
}
5252

tests/baselines/reference/parserMemberAccessAfterPostfixExpression1.errors.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ tests/cases/conformance/parser/ecmascript5/Expressions/parserMemberAccessAfterPo
1111
!!! error TS1005: ';' expected.
1212
~~~~~~~~
1313
!!! error TS2552: Cannot find name 'toString'. Did you mean 'String'?
14-
!!! related TS2728 /.ts/lib.es5.d.ts:515:15: 'String' is declared here.
14+
!!! related TS2728 /.ts/lib.es5.d.ts:517:15: 'String' is declared here.

tests/baselines/reference/parserS7.2_A1.5_T2.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ tests/cases/conformance/parser/ecmascript5/parserS7.2_A1.5_T2.ts(20,3): error TS
1919
$ERROR('#1: eval("\\u00A0var x\\u00A0= 1\\u00A0"); x === 1. Actual: ' + (x));
2020
~~~~~~
2121
!!! error TS2552: Cannot find name '$ERROR'. Did you mean 'Error'?
22-
!!! related TS2728 /.ts/lib.es5.d.ts:972:15: 'Error' is declared here.
22+
!!! related TS2728 /.ts/lib.es5.d.ts:974:15: 'Error' is declared here.
2323
}
2424

2525
//CHECK#2
@@ -28,7 +28,7 @@ tests/cases/conformance/parser/ecmascript5/parserS7.2_A1.5_T2.ts(20,3): error TS
2828
$ERROR('#2:  var x = 1 ; x === 1. Actual: ' + (x));
2929
~~~~~~
3030
!!! error TS2552: Cannot find name '$ERROR'. Did you mean 'Error'?
31-
!!! related TS2728 /.ts/lib.es5.d.ts:972:15: 'Error' is declared here.
31+
!!! related TS2728 /.ts/lib.es5.d.ts:974:15: 'Error' is declared here.
3232
}
3333

3434

tests/baselines/reference/parserS7.3_A1.1_T2.errors.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ tests/cases/conformance/parser/ecmascript5/parserS7.3_A1.1_T2.ts(17,3): error TS
2121
$ERROR('#1: var\\nx\\n=\\n1\\n; x === 1. Actual: ' + (x));
2222
~~~~~~
2323
!!! error TS2552: Cannot find name '$ERROR'. Did you mean 'Error'?
24-
!!! related TS2728 /.ts/lib.es5.d.ts:972:15: 'Error' is declared here.
24+
!!! related TS2728 /.ts/lib.es5.d.ts:974:15: 'Error' is declared here.
2525
}
2626

2727

tests/baselines/reference/parserS7.6_A4.2_T1.errors.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,70 +50,70 @@ tests/cases/conformance/parser/ecmascript5/parserS7.6_A4.2_T1.ts(142,3): error T
5050
$ERROR('#А');
5151
~~~~~~
5252
!!! error TS2552: Cannot find name '$ERROR'. Did you mean 'Error'?
53-
!!! related TS2728 /.ts/lib.es5.d.ts:972:15: 'Error' is declared here.
53+
!!! related TS2728 /.ts/lib.es5.d.ts:974:15: 'Error' is declared here.
5454
}
5555
var \u0411 = 1;
5656
if (Б !== 1) {
5757
$ERROR('#Б');
5858
~~~~~~
5959
!!! error TS2552: Cannot find name '$ERROR'. Did you mean 'Error'?
60-
!!! related TS2728 /.ts/lib.es5.d.ts:972:15: 'Error' is declared here.
60+
!!! related TS2728 /.ts/lib.es5.d.ts:974:15: 'Error' is declared here.
6161
}
6262
var \u0412 = 1;
6363
if (В !== 1) {
6464
$ERROR('#В');
6565
~~~~~~
6666
!!! error TS2552: Cannot find name '$ERROR'. Did you mean 'Error'?
67-
!!! related TS2728 /.ts/lib.es5.d.ts:972:15: 'Error' is declared here.
67+
!!! related TS2728 /.ts/lib.es5.d.ts:974:15: 'Error' is declared here.
6868
}
6969
var \u0413 = 1;
7070
if (Г !== 1) {
7171
$ERROR('#Г');
7272
~~~~~~
7373
!!! error TS2552: Cannot find name '$ERROR'. Did you mean 'Error'?
74-
!!! related TS2728 /.ts/lib.es5.d.ts:972:15: 'Error' is declared here.
74+
!!! related TS2728 /.ts/lib.es5.d.ts:974:15: 'Error' is declared here.
7575
}
7676
var \u0414 = 1;
7777
if (Д !== 1) {
7878
$ERROR('#Д');
7979
~~~~~~
8080
!!! error TS2552: Cannot find name '$ERROR'. Did you mean 'Error'?
81-
!!! related TS2728 /.ts/lib.es5.d.ts:972:15: 'Error' is declared here.
81+
!!! related TS2728 /.ts/lib.es5.d.ts:974:15: 'Error' is declared here.
8282
}
8383
var \u0415 = 1;
8484
if (Е !== 1) {
8585
$ERROR('#Е');
8686
~~~~~~
8787
!!! error TS2552: Cannot find name '$ERROR'. Did you mean 'Error'?
88-
!!! related TS2728 /.ts/lib.es5.d.ts:972:15: 'Error' is declared here.
88+
!!! related TS2728 /.ts/lib.es5.d.ts:974:15: 'Error' is declared here.
8989
}
9090
var \u0416 = 1;
9191
if (Ж !== 1) {
9292
$ERROR('#Ж');
9393
~~~~~~
9494
!!! error TS2552: Cannot find name '$ERROR'. Did you mean 'Error'?
95-
!!! related TS2728 /.ts/lib.es5.d.ts:972:15: 'Error' is declared here.
95+
!!! related TS2728 /.ts/lib.es5.d.ts:974:15: 'Error' is declared here.
9696
}
9797
var \u0417 = 1;
9898
if (З !== 1) {
9999
$ERROR('#З');
100100
~~~~~~
101101
!!! error TS2552: Cannot find name '$ERROR'. Did you mean 'Error'?
102-
!!! related TS2728 /.ts/lib.es5.d.ts:972:15: 'Error' is declared here.
102+
!!! related TS2728 /.ts/lib.es5.d.ts:974:15: 'Error' is declared here.
103103
}
104104
var \u0418 = 1;
105105
if (И !== 1) {
106106
$ERROR('#И');
107107
~~~~~~
108108
!!! error TS2552: Cannot find name '$ERROR'. Did you mean 'Error'?
109-
!!! related TS2728 /.ts/lib.es5.d.ts:972:15: 'Error' is declared here.
109+
!!! related TS2728 /.ts/lib.es5.d.ts:974:15: 'Error' is declared here.
110110
}
111111
var \u0419 = 1;
112112
if (Й !== 1) {
113113
$ERROR('#Й');
114114
~~~~~~
115115
!!! error TS2552: Cannot find name '$ERROR'. Did you mean 'Error'?
116-
!!! related TS2728 /.ts/lib.es5.d.ts:972:15: 'Error' is declared here.
116+
!!! related TS2728 /.ts/lib.es5.d.ts:974:15: 'Error' is declared here.
117117
}
118118
var \u041A = 1;
119119
if (К !== 1) {

0 commit comments

Comments
 (0)