Skip to content

Commit c12f190

Browse files
committed
Accept symbol baselines
1 parent 1af576b commit c12f190

28 files changed

Lines changed: 79 additions & 3 deletions

tests/baselines/reference/computedPropertyNames10_ES5.symbols

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ var v = {
2929
>s : Symbol(s, Decl(computedPropertyNames10_ES5.ts, 0, 3))
3030

3131
[""]() { },
32+
>"" : Symbol([""], Decl(computedPropertyNames10_ES5.ts, 8, 15))
33+
3234
[0]() { },
35+
>0 : Symbol([0], Decl(computedPropertyNames10_ES5.ts, 9, 15))
36+
3337
[a]() { },
3438
>a : Symbol(a, Decl(computedPropertyNames10_ES5.ts, 2, 3))
3539

tests/baselines/reference/computedPropertyNames10_ES6.symbols

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ var v = {
2929
>s : Symbol(s, Decl(computedPropertyNames10_ES6.ts, 0, 3))
3030

3131
[""]() { },
32+
>"" : Symbol([""], Decl(computedPropertyNames10_ES6.ts, 8, 15))
33+
3234
[0]() { },
35+
>0 : Symbol([0], Decl(computedPropertyNames10_ES6.ts, 9, 15))
36+
3337
[a]() { },
3438
>a : Symbol(a, Decl(computedPropertyNames10_ES6.ts, 2, 3))
3539

tests/baselines/reference/computedPropertyNames11_ES5.symbols

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,12 @@ var v = {
3131
>s : Symbol(s, Decl(computedPropertyNames11_ES5.ts, 0, 3))
3232

3333
set [""](v) { },
34+
>"" : Symbol([""], Decl(computedPropertyNames11_ES5.ts, 8, 29))
3435
>v : Symbol(v, Decl(computedPropertyNames11_ES5.ts, 9, 13))
3536

3637
get [0]() { return 0; },
38+
>0 : Symbol([0], Decl(computedPropertyNames11_ES5.ts, 9, 20))
39+
3740
set [a](v) { },
3841
>a : Symbol(a, Decl(computedPropertyNames11_ES5.ts, 2, 3))
3942
>v : Symbol(v, Decl(computedPropertyNames11_ES5.ts, 11, 12))

tests/baselines/reference/computedPropertyNames11_ES6.symbols

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,12 @@ var v = {
3131
>s : Symbol(s, Decl(computedPropertyNames11_ES6.ts, 0, 3))
3232

3333
set [""](v) { },
34+
>"" : Symbol([""], Decl(computedPropertyNames11_ES6.ts, 8, 29))
3435
>v : Symbol(v, Decl(computedPropertyNames11_ES6.ts, 9, 13))
3536

3637
get [0]() { return 0; },
38+
>0 : Symbol([0], Decl(computedPropertyNames11_ES6.ts, 9, 20))
39+
3740
set [a](v) { },
3841
>a : Symbol(a, Decl(computedPropertyNames11_ES6.ts, 2, 3))
3942
>v : Symbol(v, Decl(computedPropertyNames11_ES6.ts, 11, 12))

tests/baselines/reference/computedPropertyNames13_ES5.symbols

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ class C {
2929
>s : Symbol(s, Decl(computedPropertyNames13_ES5.ts, 0, 3))
3030

3131
static [""]() { }
32+
>"" : Symbol(C[[""]], Decl(computedPropertyNames13_ES5.ts, 8, 14))
33+
3234
[0]() { }
35+
>0 : Symbol(C[[0]], Decl(computedPropertyNames13_ES5.ts, 9, 21))
36+
3337
[a]() { }
3438
>a : Symbol(a, Decl(computedPropertyNames13_ES5.ts, 2, 3))
3539

tests/baselines/reference/computedPropertyNames13_ES6.symbols

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ class C {
2929
>s : Symbol(s, Decl(computedPropertyNames13_ES6.ts, 0, 3))
3030

3131
static [""]() { }
32+
>"" : Symbol(C[[""]], Decl(computedPropertyNames13_ES6.ts, 8, 14))
33+
3234
[0]() { }
35+
>0 : Symbol(C[[0]], Decl(computedPropertyNames13_ES6.ts, 9, 21))
36+
3337
[a]() { }
3438
>a : Symbol(a, Decl(computedPropertyNames13_ES6.ts, 2, 3))
3539

tests/baselines/reference/computedPropertyNames16_ES5.symbols

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,12 @@ class C {
3131
>s : Symbol(s, Decl(computedPropertyNames16_ES5.ts, 0, 3))
3232

3333
static set [""](v) { }
34+
>"" : Symbol(C[[""]], Decl(computedPropertyNames16_ES5.ts, 8, 28))
3435
>v : Symbol(v, Decl(computedPropertyNames16_ES5.ts, 9, 20))
3536

3637
get [0]() { return 0; }
38+
>0 : Symbol(C[[0]], Decl(computedPropertyNames16_ES5.ts, 9, 26))
39+
3740
set [a](v) { }
3841
>a : Symbol(a, Decl(computedPropertyNames16_ES5.ts, 2, 3))
3942
>v : Symbol(v, Decl(computedPropertyNames16_ES5.ts, 11, 12))

tests/baselines/reference/computedPropertyNames16_ES6.symbols

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,12 @@ class C {
3131
>s : Symbol(s, Decl(computedPropertyNames16_ES6.ts, 0, 3))
3232

3333
static set [""](v) { }
34+
>"" : Symbol(C[[""]], Decl(computedPropertyNames16_ES6.ts, 8, 28))
3435
>v : Symbol(v, Decl(computedPropertyNames16_ES6.ts, 9, 20))
3536

3637
get [0]() { return 0; }
38+
>0 : Symbol(C[[0]], Decl(computedPropertyNames16_ES6.ts, 9, 26))
39+
3740
set [a](v) { }
3841
>a : Symbol(a, Decl(computedPropertyNames16_ES6.ts, 2, 3))
3942
>v : Symbol(v, Decl(computedPropertyNames16_ES6.ts, 11, 12))

tests/baselines/reference/computedPropertyNames37_ES5.symbols

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ class C {
1717

1818
// Computed properties
1919
get ["get1"]() { return new Foo }
20+
>"get1" : Symbol(C[["get1"]], Decl(computedPropertyNames37_ES5.ts, 4, 22))
2021
>Foo : Symbol(Foo, Decl(computedPropertyNames37_ES5.ts, 0, 0))
2122

2223
set ["set1"](p: Foo2) { }
24+
>"set1" : Symbol(C[["set1"]], Decl(computedPropertyNames37_ES5.ts, 7, 37))
2325
>p : Symbol(p, Decl(computedPropertyNames37_ES5.ts, 8, 17))
2426
>Foo2 : Symbol(Foo2, Decl(computedPropertyNames37_ES5.ts, 0, 15))
2527
}

tests/baselines/reference/computedPropertyNames37_ES6.symbols

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ class C {
1717

1818
// Computed properties
1919
get ["get1"]() { return new Foo }
20+
>"get1" : Symbol(C[["get1"]], Decl(computedPropertyNames37_ES6.ts, 4, 22))
2021
>Foo : Symbol(Foo, Decl(computedPropertyNames37_ES6.ts, 0, 0))
2122

2223
set ["set1"](p: Foo2) { }
24+
>"set1" : Symbol(C[["set1"]], Decl(computedPropertyNames37_ES6.ts, 7, 37))
2325
>p : Symbol(p, Decl(computedPropertyNames37_ES6.ts, 8, 17))
2426
>Foo2 : Symbol(Foo2, Decl(computedPropertyNames37_ES6.ts, 0, 15))
2527
}

0 commit comments

Comments
 (0)