Skip to content

Commit f77cd8e

Browse files
committed
Accept new baselines
1 parent 25738a8 commit f77cd8e

37 files changed

+346
-226
lines changed

tests/baselines/reference/castTest.symbols

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,7 @@ var p_cast = <Point> ({
7171

7272
return new Point(this.x + dx, this.y + dy);
7373
>Point : Symbol(Point, Decl(castTest.ts, 11, 37))
74-
>this.x : Symbol(Point.x, Decl(castTest.ts, 14, 1))
75-
>this : Symbol(Point, Decl(castTest.ts, 11, 37))
76-
>x : Symbol(Point.x, Decl(castTest.ts, 14, 1))
7774
>dx : Symbol(dx, Decl(castTest.ts, 25, 18))
78-
>this.y : Symbol(Point.y, Decl(castTest.ts, 15, 14))
79-
>this : Symbol(Point, Decl(castTest.ts, 11, 37))
80-
>y : Symbol(Point.y, Decl(castTest.ts, 15, 14))
8175
>dy : Symbol(dy, Decl(castTest.ts, 25, 21))
8276

8377
},

tests/baselines/reference/castTest.types

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,15 @@ var p_cast = <Point> ({
9191
return new Point(this.x + dx, this.y + dy);
9292
>new Point(this.x + dx, this.y + dy) : Point
9393
>Point : typeof Point
94-
>this.x + dx : number
95-
>this.x : number
96-
>this : Point
97-
>x : number
94+
>this.x + dx : any
95+
>this.x : any
96+
>this : any
97+
>x : any
9898
>dx : number
99-
>this.y + dy : number
100-
>this.y : number
101-
>this : Point
102-
>y : number
99+
>this.y + dy : any
100+
>this.y : any
101+
>this : any
102+
>y : any
103103
>dy : number
104104

105105
},

tests/baselines/reference/commentsOnObjectLiteral3.symbols

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,13 @@ var v = {
2121
>a : Symbol(a, Decl(commentsOnObjectLiteral3.ts, 8, 13), Decl(commentsOnObjectLiteral3.ts, 12, 18))
2222

2323
return this.prop;
24-
>this.prop : Symbol(prop, Decl(commentsOnObjectLiteral3.ts, 1, 9))
25-
>this : Symbol(v, Decl(commentsOnObjectLiteral3.ts, 1, 7))
26-
>prop : Symbol(prop, Decl(commentsOnObjectLiteral3.ts, 1, 9))
27-
2824
} /*trailing 1*/,
2925
//setter
3026
set a(value) {
3127
>a : Symbol(a, Decl(commentsOnObjectLiteral3.ts, 8, 13), Decl(commentsOnObjectLiteral3.ts, 12, 18))
3228
>value : Symbol(value, Decl(commentsOnObjectLiteral3.ts, 14, 7))
3329

3430
this.prop = value;
35-
>this.prop : Symbol(prop, Decl(commentsOnObjectLiteral3.ts, 1, 9))
36-
>this : Symbol(v, Decl(commentsOnObjectLiteral3.ts, 1, 7))
37-
>prop : Symbol(prop, Decl(commentsOnObjectLiteral3.ts, 1, 9))
3831
>value : Symbol(value, Decl(commentsOnObjectLiteral3.ts, 14, 7))
3932

4033
} // trailing 2

tests/baselines/reference/commentsOnObjectLiteral3.types

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
=== tests/cases/compiler/commentsOnObjectLiteral3.ts ===
22

33
var v = {
4-
>v : { prop: number; func: () => void; func1(): void; a: number; }
5-
>{ //property prop: 1 /* multiple trailing comments */ /*trailing comments*/, //property func: function () { }, //PropertyName + CallSignature func1() { }, //getter get a() { return this.prop; } /*trailing 1*/, //setter set a(value) { this.prop = value; } // trailing 2} : { prop: number; func: () => void; func1(): void; a: number; }
4+
>v : { prop: number; func: () => void; func1(): void; a: any; }
5+
>{ //property prop: 1 /* multiple trailing comments */ /*trailing comments*/, //property func: function () { }, //PropertyName + CallSignature func1() { }, //getter get a() { return this.prop; } /*trailing 1*/, //setter set a(value) { this.prop = value; } // trailing 2} : { prop: number; func: () => void; func1(): void; a: any; }
66

77
//property
88
prop: 1 /* multiple trailing comments */ /*trailing comments*/,
@@ -21,25 +21,25 @@ var v = {
2121

2222
//getter
2323
get a() {
24-
>a : number
24+
>a : any
2525

2626
return this.prop;
27-
>this.prop : number
28-
>this : { prop: number; func: () => void; func1(): void; a: number; }
29-
>prop : number
27+
>this.prop : any
28+
>this : any
29+
>prop : any
3030

3131
} /*trailing 1*/,
3232
//setter
3333
set a(value) {
34-
>a : number
35-
>value : number
34+
>a : any
35+
>value : any
3636

3737
this.prop = value;
38-
>this.prop = value : number
39-
>this.prop : number
40-
>this : { prop: number; func: () => void; func1(): void; a: number; }
41-
>prop : number
42-
>value : number
38+
>this.prop = value : any
39+
>this.prop : any
40+
>this : any
41+
>prop : any
42+
>value : any
4343

4444
} // trailing 2
4545
};

tests/baselines/reference/declFileObjectLiteralWithAccessors.symbols

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ function /*1*/makePoint(x: number) {
1515
set x(a: number) { this.b = a; }
1616
>x : Symbol(x, Decl(declFileObjectLiteralWithAccessors.ts, 3, 14), Decl(declFileObjectLiteralWithAccessors.ts, 4, 30))
1717
>a : Symbol(a, Decl(declFileObjectLiteralWithAccessors.ts, 5, 14))
18-
>this.b : Symbol(b, Decl(declFileObjectLiteralWithAccessors.ts, 2, 12))
19-
>this : Symbol(__object, Decl(declFileObjectLiteralWithAccessors.ts, 2, 10))
20-
>b : Symbol(b, Decl(declFileObjectLiteralWithAccessors.ts, 2, 12))
2118
>a : Symbol(a, Decl(declFileObjectLiteralWithAccessors.ts, 5, 14))
2219

2320
};

tests/baselines/reference/declFileObjectLiteralWithAccessors.types

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ function /*1*/makePoint(x: number) {
1919
>x : number
2020
>a : number
2121
>this.b = a : number
22-
>this.b : number
23-
>this : { b: number; x: number; }
24-
>b : number
22+
>this.b : any
23+
>this : any
24+
>b : any
2525
>a : number
2626

2727
};

tests/baselines/reference/declFileObjectLiteralWithOnlySetter.symbols

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ function /*1*/makePoint(x: number) {
1111
set x(a: number) { this.b = a; }
1212
>x : Symbol(x, Decl(declFileObjectLiteralWithOnlySetter.ts, 3, 14))
1313
>a : Symbol(a, Decl(declFileObjectLiteralWithOnlySetter.ts, 4, 14))
14-
>this.b : Symbol(b, Decl(declFileObjectLiteralWithOnlySetter.ts, 2, 12))
15-
>this : Symbol(__object, Decl(declFileObjectLiteralWithOnlySetter.ts, 2, 10))
16-
>b : Symbol(b, Decl(declFileObjectLiteralWithOnlySetter.ts, 2, 12))
1714
>a : Symbol(a, Decl(declFileObjectLiteralWithOnlySetter.ts, 4, 14))
1815

1916
};

tests/baselines/reference/declFileObjectLiteralWithOnlySetter.types

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ function /*1*/makePoint(x: number) {
1515
>x : number
1616
>a : number
1717
>this.b = a : number
18-
>this.b : number
19-
>this : { b: number; x: number; }
20-
>b : number
18+
>this.b : any
19+
>this : any
20+
>b : any
2121
>a : number
2222

2323
};

tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS3.symbols

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,11 @@ var object = {
88

99
get 0() {
1010
return this._0;
11-
>this._0 : Symbol(_0, Decl(emitCompoundExponentiationAssignmentWithIndexingOnLHS3.ts, 1, 14))
12-
>this : Symbol(object, Decl(emitCompoundExponentiationAssignmentWithIndexingOnLHS3.ts, 1, 12))
13-
>_0 : Symbol(_0, Decl(emitCompoundExponentiationAssignmentWithIndexingOnLHS3.ts, 1, 14))
14-
1511
},
1612
set 0(x: number) {
1713
>x : Symbol(x, Decl(emitCompoundExponentiationAssignmentWithIndexingOnLHS3.ts, 6, 10))
1814

1915
this._0 = x;
20-
>this._0 : Symbol(_0, Decl(emitCompoundExponentiationAssignmentWithIndexingOnLHS3.ts, 1, 14))
21-
>this : Symbol(object, Decl(emitCompoundExponentiationAssignmentWithIndexingOnLHS3.ts, 1, 12))
22-
>_0 : Symbol(_0, Decl(emitCompoundExponentiationAssignmentWithIndexingOnLHS3.ts, 1, 14))
2316
>x : Symbol(x, Decl(emitCompoundExponentiationAssignmentWithIndexingOnLHS3.ts, 6, 10))
2417

2518
},

tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS3.types

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ var object = {
1010

1111
get 0() {
1212
return this._0;
13-
>this._0 : number
14-
>this : { _0: number; 0: number; }
15-
>_0 : number
13+
>this._0 : any
14+
>this : any
15+
>_0 : any
1616

1717
},
1818
set 0(x: number) {
1919
>x : number
2020

2121
this._0 = x;
2222
>this._0 = x : number
23-
>this._0 : number
24-
>this : { _0: number; 0: number; }
25-
>_0 : number
23+
>this._0 : any
24+
>this : any
25+
>_0 : any
2626
>x : number
2727

2828
},

0 commit comments

Comments
 (0)