Skip to content

Commit 636b7c3

Browse files
committed
changed baselines
1 parent beff89c commit 636b7c3

File tree

1,279 files changed

+5080
-5080
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,279 files changed

+5080
-5080
lines changed

tests/baselines/reference/2dArrays.symbols

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ class Board {
2525
>allShipsSunk : Symbol(Board.allShipsSunk, Decl(2dArrays.ts, 9, 18))
2626

2727
return this.ships.every(function (val) { return val.isSunk; });
28-
>this.ships.every : Symbol(Array.every, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
28+
>this.ships.every : Symbol(Array.every, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
2929
>this.ships : Symbol(Board.ships, Decl(2dArrays.ts, 7, 13))
3030
>this : Symbol(Board, Decl(2dArrays.ts, 5, 1))
3131
>ships : Symbol(Board.ships, Decl(2dArrays.ts, 7, 13))
32-
>every : Symbol(Array.every, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
32+
>every : Symbol(Array.every, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
3333
>val : Symbol(val, Decl(2dArrays.ts, 12, 42))
3434
>val.isSunk : Symbol(Ship.isSunk, Decl(2dArrays.ts, 3, 12))
3535
>val : Symbol(val, Decl(2dArrays.ts, 12, 42))

tests/baselines/reference/ES5SymbolType1.symbols

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ var s: symbol;
33
>s : Symbol(s, Decl(ES5SymbolType1.ts, 0, 3))
44

55
s.toString();
6-
>s.toString : Symbol(Object.toString, Decl(lib.d.ts, --, --))
6+
>s.toString : Symbol(Object.toString, Decl(lib.es3.d.ts, --, --))
77
>s : Symbol(s, Decl(ES5SymbolType1.ts, 0, 3))
8-
>toString : Symbol(Object.toString, Decl(lib.d.ts, --, --))
8+
>toString : Symbol(Object.toString, Decl(lib.es3.d.ts, --, --))
99

tests/baselines/reference/ExportVariableOfGenericTypeWithInaccessibleTypeAsTypeArgument.symbols

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ module A {
1111

1212
export var beez: Array<B>;
1313
>beez : Symbol(beez, Decl(ExportVariableOfGenericTypeWithInaccessibleTypeAsTypeArgument.ts, 5, 14))
14-
>Array : Symbol(Array, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
14+
>Array : Symbol(Array, Decl(lib.es3.d.ts, --, --), Decl(lib.es3.d.ts, --, --))
1515
>B : Symbol(B, Decl(ExportVariableOfGenericTypeWithInaccessibleTypeAsTypeArgument.ts, 0, 10))
1616

1717
export var beez2 = new Array<B>();
1818
>beez2 : Symbol(beez2, Decl(ExportVariableOfGenericTypeWithInaccessibleTypeAsTypeArgument.ts, 6, 14))
19-
>Array : Symbol(Array, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
19+
>Array : Symbol(Array, Decl(lib.es3.d.ts, --, --), Decl(lib.es3.d.ts, --, --))
2020
>B : Symbol(B, Decl(ExportVariableOfGenericTypeWithInaccessibleTypeAsTypeArgument.ts, 0, 10))
2121
}

tests/baselines/reference/TypeGuardWithArrayUnion.symbols

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ function saySize(message: Message | Message[]) {
1414

1515
if (message instanceof Array) {
1616
>message : Symbol(message, Decl(TypeGuardWithArrayUnion.ts, 4, 17))
17-
>Array : Symbol(Array, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
17+
>Array : Symbol(Array, Decl(lib.es3.d.ts, --, --), Decl(lib.es3.d.ts, --, --))
1818

1919
return message.length; // Should have type Message[] here
20-
>message.length : Symbol(Array.length, Decl(lib.d.ts, --, --))
20+
>message.length : Symbol(Array.length, Decl(lib.es3.d.ts, --, --))
2121
>message : Symbol(message, Decl(TypeGuardWithArrayUnion.ts, 4, 17))
22-
>length : Symbol(Array.length, Decl(lib.d.ts, --, --))
22+
>length : Symbol(Array.length, Decl(lib.es3.d.ts, --, --))
2323
}
2424
}
2525

tests/baselines/reference/additionOperatorWithAnyAndEveryType.symbols

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var d: string;
3535

3636
var e: Object;
3737
>e : Symbol(e, Decl(additionOperatorWithAnyAndEveryType.ts, 12, 3))
38-
>Object : Symbol(Object, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
38+
>Object : Symbol(Object, Decl(lib.es3.d.ts, --, --), Decl(lib.es3.d.ts, --, --))
3939

4040
// any as left operand, result is type Any except plusing string
4141
var r1 = a + a;

tests/baselines/reference/additionOperatorWithStringAndEveryType.symbols

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ var d: string;
1919

2020
var e: Object;
2121
>e : Symbol(e, Decl(additionOperatorWithStringAndEveryType.ts, 6, 3))
22-
>Object : Symbol(Object, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
22+
>Object : Symbol(Object, Decl(lib.es3.d.ts, --, --), Decl(lib.es3.d.ts, --, --))
2323

2424
var f: void;
2525
>f : Symbol(f, Decl(additionOperatorWithStringAndEveryType.ts, 7, 3))

tests/baselines/reference/ambientConstLiterals.symbols

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ const c12 = 123 + 456;
6262

6363
const c13 = Math.random() > 0.5 ? "abc" : "def";
6464
>c13 : Symbol(c13, Decl(ambientConstLiterals.ts, 18, 5))
65-
>Math.random : Symbol(Math.random, Decl(lib.d.ts, --, --))
66-
>Math : Symbol(Math, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
67-
>random : Symbol(Math.random, Decl(lib.d.ts, --, --))
65+
>Math.random : Symbol(Math.random, Decl(lib.es3.d.ts, --, --))
66+
>Math : Symbol(Math, Decl(lib.es3.d.ts, --, --), Decl(lib.es3.d.ts, --, --))
67+
>random : Symbol(Math.random, Decl(lib.es3.d.ts, --, --))
6868

6969
const c14 = Math.random() > 0.5 ? 123 : 456;
7070
>c14 : Symbol(c14, Decl(ambientConstLiterals.ts, 19, 5))
71-
>Math.random : Symbol(Math.random, Decl(lib.d.ts, --, --))
72-
>Math : Symbol(Math, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
73-
>random : Symbol(Math.random, Decl(lib.d.ts, --, --))
71+
>Math.random : Symbol(Math.random, Decl(lib.es3.d.ts, --, --))
72+
>Math : Symbol(Math, Decl(lib.es3.d.ts, --, --), Decl(lib.es3.d.ts, --, --))
73+
>random : Symbol(Math.random, Decl(lib.es3.d.ts, --, --))
7474

tests/baselines/reference/anyAssignabilityInInheritance.symbols

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ var r3 = foo3(a); // any
5656
declare function foo5(x: Date): Date;
5757
>foo5 : Symbol(foo5, Decl(anyAssignabilityInInheritance.ts, 19, 17), Decl(anyAssignabilityInInheritance.ts, 21, 37))
5858
>x : Symbol(x, Decl(anyAssignabilityInInheritance.ts, 21, 22))
59-
>Date : Symbol(Date, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
60-
>Date : Symbol(Date, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
59+
>Date : Symbol(Date, Decl(lib.es3.d.ts, --, --), Decl(lib.es3.d.ts, --, --))
60+
>Date : Symbol(Date, Decl(lib.es3.d.ts, --, --), Decl(lib.es3.d.ts, --, --))
6161

6262
declare function foo5(x: any): any;
6363
>foo5 : Symbol(foo5, Decl(anyAssignabilityInInheritance.ts, 19, 17), Decl(anyAssignabilityInInheritance.ts, 21, 37))
@@ -71,8 +71,8 @@ var r3 = foo3(a); // any
7171
declare function foo6(x: RegExp): RegExp;
7272
>foo6 : Symbol(foo6, Decl(anyAssignabilityInInheritance.ts, 23, 17), Decl(anyAssignabilityInInheritance.ts, 25, 41))
7373
>x : Symbol(x, Decl(anyAssignabilityInInheritance.ts, 25, 22))
74-
>RegExp : Symbol(RegExp, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
75-
>RegExp : Symbol(RegExp, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
74+
>RegExp : Symbol(RegExp, Decl(lib.es3.d.ts, --, --), Decl(lib.es3.d.ts, --, --))
75+
>RegExp : Symbol(RegExp, Decl(lib.es3.d.ts, --, --), Decl(lib.es3.d.ts, --, --))
7676

7777
declare function foo6(x: any): any;
7878
>foo6 : Symbol(foo6, Decl(anyAssignabilityInInheritance.ts, 23, 17), Decl(anyAssignabilityInInheritance.ts, 25, 41))
@@ -277,8 +277,8 @@ var r3 = foo3(a); // any
277277
declare function foo17(x: Object): Object;
278278
>foo17 : Symbol(foo17, Decl(anyAssignabilityInInheritance.ts, 79, 17), Decl(anyAssignabilityInInheritance.ts, 81, 42))
279279
>x : Symbol(x, Decl(anyAssignabilityInInheritance.ts, 81, 23))
280-
>Object : Symbol(Object, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
281-
>Object : Symbol(Object, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
280+
>Object : Symbol(Object, Decl(lib.es3.d.ts, --, --), Decl(lib.es3.d.ts, --, --))
281+
>Object : Symbol(Object, Decl(lib.es3.d.ts, --, --), Decl(lib.es3.d.ts, --, --))
282282

283283
declare function foo17(x: any): any;
284284
>foo17 : Symbol(foo17, Decl(anyAssignabilityInInheritance.ts, 79, 17), Decl(anyAssignabilityInInheritance.ts, 81, 42))

tests/baselines/reference/anyAssignableToEveryType.symbols

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ var d: boolean = a;
4444

4545
var e: Date = a;
4646
>e : Symbol(e, Decl(anyAssignableToEveryType.ts, 17, 3))
47-
>Date : Symbol(Date, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
47+
>Date : Symbol(Date, Decl(lib.es3.d.ts, --, --), Decl(lib.es3.d.ts, --, --))
4848
>a : Symbol(a, Decl(anyAssignableToEveryType.ts, 0, 3))
4949

5050
var f: any = a;
@@ -57,7 +57,7 @@ var g: void = a;
5757

5858
var h: Object = a;
5959
>h : Symbol(h, Decl(anyAssignableToEveryType.ts, 20, 3))
60-
>Object : Symbol(Object, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
60+
>Object : Symbol(Object, Decl(lib.es3.d.ts, --, --), Decl(lib.es3.d.ts, --, --))
6161
>a : Symbol(a, Decl(anyAssignableToEveryType.ts, 0, 3))
6262

6363
var i: {} = a;
@@ -70,7 +70,7 @@ var j: () => {} = a;
7070

7171
var k: Function = a;
7272
>k : Symbol(k, Decl(anyAssignableToEveryType.ts, 23, 3))
73-
>Function : Symbol(Function, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
73+
>Function : Symbol(Function, Decl(lib.es3.d.ts, --, --), Decl(lib.es3.d.ts, --, --))
7474
>a : Symbol(a, Decl(anyAssignableToEveryType.ts, 0, 3))
7575

7676
var l: (x: number) => string = a;
@@ -109,20 +109,20 @@ var o: <T>(x: T) => T = a;
109109

110110
var p: Number = a;
111111
>p : Symbol(p, Decl(anyAssignableToEveryType.ts, 31, 3))
112-
>Number : Symbol(Number, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
112+
>Number : Symbol(Number, Decl(lib.es3.d.ts, --, --), Decl(lib.es3.d.ts, --, --))
113113
>a : Symbol(a, Decl(anyAssignableToEveryType.ts, 0, 3))
114114

115115
var q: String = a;
116116
>q : Symbol(q, Decl(anyAssignableToEveryType.ts, 32, 3))
117-
>String : Symbol(String, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
117+
>String : Symbol(String, Decl(lib.es3.d.ts, --, --), Decl(lib.es3.d.ts, --, --))
118118
>a : Symbol(a, Decl(anyAssignableToEveryType.ts, 0, 3))
119119

120120
function foo<T, U /*extends T*/, V extends Date>(x: T, y: U, z: V) {
121121
>foo : Symbol(foo, Decl(anyAssignableToEveryType.ts, 32, 18))
122122
>T : Symbol(T, Decl(anyAssignableToEveryType.ts, 34, 13))
123123
>U : Symbol(U, Decl(anyAssignableToEveryType.ts, 34, 15))
124124
>V : Symbol(V, Decl(anyAssignableToEveryType.ts, 34, 32))
125-
>Date : Symbol(Date, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
125+
>Date : Symbol(Date, Decl(lib.es3.d.ts, --, --), Decl(lib.es3.d.ts, --, --))
126126
>x : Symbol(x, Decl(anyAssignableToEveryType.ts, 34, 49))
127127
>T : Symbol(T, Decl(anyAssignableToEveryType.ts, 34, 13))
128128
>y : Symbol(y, Decl(anyAssignableToEveryType.ts, 34, 54))

tests/baselines/reference/anyAssignableToEveryType2.symbols

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ interface I5 {
5050

5151
[x: string]: Date;
5252
>x : Symbol(x, Decl(anyAssignableToEveryType2.ts, 27, 5))
53-
>Date : Symbol(Date, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
53+
>Date : Symbol(Date, Decl(lib.es3.d.ts, --, --), Decl(lib.es3.d.ts, --, --))
5454

5555
foo: any;
5656
>foo : Symbol(I5.foo, Decl(anyAssignableToEveryType2.ts, 27, 22))
@@ -62,7 +62,7 @@ interface I6 {
6262

6363
[x: string]: RegExp;
6464
>x : Symbol(x, Decl(anyAssignableToEveryType2.ts, 33, 5))
65-
>RegExp : Symbol(RegExp, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
65+
>RegExp : Symbol(RegExp, Decl(lib.es3.d.ts, --, --), Decl(lib.es3.d.ts, --, --))
6666

6767
foo: any;
6868
>foo : Symbol(I6.foo, Decl(anyAssignableToEveryType2.ts, 33, 24))
@@ -255,7 +255,7 @@ interface I19 {
255255

256256
[x: string]: Object;
257257
>x : Symbol(x, Decl(anyAssignableToEveryType2.ts, 120, 5))
258-
>Object : Symbol(Object, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
258+
>Object : Symbol(Object, Decl(lib.es3.d.ts, --, --), Decl(lib.es3.d.ts, --, --))
259259

260260
foo: any;
261261
>foo : Symbol(I19.foo, Decl(anyAssignableToEveryType2.ts, 120, 24))

0 commit comments

Comments
 (0)