Accepted symbol baselines.

This commit is contained in:
Daniel Rosenwasser
2016-04-16 19:23:13 -07:00
parent a07e25a0a8
commit ac1d2187ce
14 changed files with 106 additions and 106 deletions

View File

@@ -24,12 +24,12 @@ let test: indexAccess;
let s = test[0];
>s : Symbol(s, Decl(constIndexedAccess.ts, 13, 3))
>test : Symbol(test, Decl(constIndexedAccess.ts, 11, 3))
>0 : Symbol(indexAccess.0, Decl(constIndexedAccess.ts, 6, 23))
>0 : Symbol(indexAccess[0], Decl(constIndexedAccess.ts, 6, 23))
let n = test[1];
>n : Symbol(n, Decl(constIndexedAccess.ts, 14, 3))
>test : Symbol(test, Decl(constIndexedAccess.ts, 11, 3))
>1 : Symbol(indexAccess.1, Decl(constIndexedAccess.ts, 7, 14))
>1 : Symbol(indexAccess[1], Decl(constIndexedAccess.ts, 7, 14))
let s1 = test[numbers.zero];
>s1 : Symbol(s1, Decl(constIndexedAccess.ts, 16, 3))

View File

@@ -36,12 +36,12 @@ var r = c.fn();
var r2 = r[1];
>r2 : Symbol(r2, Decl(indexersInClassType.ts, 13, 3))
>r : Symbol(r, Decl(indexersInClassType.ts, 12, 3))
>1 : Symbol(C.1, Decl(indexersInClassType.ts, 2, 24))
>1 : Symbol(C[1], Decl(indexersInClassType.ts, 2, 24))
var r3 = r.a
>r3 : Symbol(r3, Decl(indexersInClassType.ts, 14, 3))
>r.a : Symbol(C.'a', Decl(indexersInClassType.ts, 3, 12))
>r.a : Symbol(C['a'], Decl(indexersInClassType.ts, 3, 12))
>r : Symbol(r, Decl(indexersInClassType.ts, 12, 3))
>a : Symbol(C.'a', Decl(indexersInClassType.ts, 3, 12))
>a : Symbol(C['a'], Decl(indexersInClassType.ts, 3, 12))

View File

@@ -26,7 +26,7 @@ var ResultIsNumber3 = -(ENUM1.B + ENUM1[""]);
>ENUM1 : Symbol(ENUM1, Decl(negateOperatorWithEnumType.ts, 2, 14))
>B : Symbol(ENUM1.B, Decl(negateOperatorWithEnumType.ts, 3, 15))
>ENUM1 : Symbol(ENUM1, Decl(negateOperatorWithEnumType.ts, 2, 14))
>"" : Symbol(ENUM1."", Decl(negateOperatorWithEnumType.ts, 3, 18))
>"" : Symbol(ENUM1[""], Decl(negateOperatorWithEnumType.ts, 3, 18))
// miss assignment operators
-ENUM;

View File

@@ -202,61 +202,61 @@ new B(1, 2, ...a, "string");
// Property access expression
new c["a-b"](1, 2, "string");
>c : Symbol(c, Decl(newWithSpreadES5.ts, 26, 3))
>"a-b" : Symbol(C."a-b", Decl(newWithSpreadES5.ts, 16, 13))
>"a-b" : Symbol(C["a-b"], Decl(newWithSpreadES5.ts, 16, 13))
new c["a-b"](1, 2, ...a);
>c : Symbol(c, Decl(newWithSpreadES5.ts, 26, 3))
>"a-b" : Symbol(C."a-b", Decl(newWithSpreadES5.ts, 16, 13))
>"a-b" : Symbol(C["a-b"], Decl(newWithSpreadES5.ts, 16, 13))
>a : Symbol(a, Decl(newWithSpreadES5.ts, 24, 3))
new c["a-b"](1, 2, ...a, "string");
>c : Symbol(c, Decl(newWithSpreadES5.ts, 26, 3))
>"a-b" : Symbol(C."a-b", Decl(newWithSpreadES5.ts, 16, 13))
>"a-b" : Symbol(C["a-b"], Decl(newWithSpreadES5.ts, 16, 13))
>a : Symbol(a, Decl(newWithSpreadES5.ts, 24, 3))
// Parenthesised expression
new (c["a-b"])(1, 2, "string");
>c : Symbol(c, Decl(newWithSpreadES5.ts, 26, 3))
>"a-b" : Symbol(C."a-b", Decl(newWithSpreadES5.ts, 16, 13))
>"a-b" : Symbol(C["a-b"], Decl(newWithSpreadES5.ts, 16, 13))
new (c["a-b"])(1, 2, ...a);
>c : Symbol(c, Decl(newWithSpreadES5.ts, 26, 3))
>"a-b" : Symbol(C."a-b", Decl(newWithSpreadES5.ts, 16, 13))
>"a-b" : Symbol(C["a-b"], Decl(newWithSpreadES5.ts, 16, 13))
>a : Symbol(a, Decl(newWithSpreadES5.ts, 24, 3))
new (c["a-b"])(1, 2, ...a, "string");
>c : Symbol(c, Decl(newWithSpreadES5.ts, 26, 3))
>"a-b" : Symbol(C."a-b", Decl(newWithSpreadES5.ts, 16, 13))
>"a-b" : Symbol(C["a-b"], Decl(newWithSpreadES5.ts, 16, 13))
>a : Symbol(a, Decl(newWithSpreadES5.ts, 24, 3))
// Element access expression
new g[1]["a-b"](1, 2, "string");
>g : Symbol(g, Decl(newWithSpreadES5.ts, 29, 3))
>"a-b" : Symbol(C."a-b", Decl(newWithSpreadES5.ts, 16, 13))
>"a-b" : Symbol(C["a-b"], Decl(newWithSpreadES5.ts, 16, 13))
new g[1]["a-b"](1, 2, ...a);
>g : Symbol(g, Decl(newWithSpreadES5.ts, 29, 3))
>"a-b" : Symbol(C."a-b", Decl(newWithSpreadES5.ts, 16, 13))
>"a-b" : Symbol(C["a-b"], Decl(newWithSpreadES5.ts, 16, 13))
>a : Symbol(a, Decl(newWithSpreadES5.ts, 24, 3))
new g[1]["a-b"](1, 2, ...a, "string");
>g : Symbol(g, Decl(newWithSpreadES5.ts, 29, 3))
>"a-b" : Symbol(C."a-b", Decl(newWithSpreadES5.ts, 16, 13))
>"a-b" : Symbol(C["a-b"], Decl(newWithSpreadES5.ts, 16, 13))
>a : Symbol(a, Decl(newWithSpreadES5.ts, 24, 3))
// Element access expression with a punctuated key
new h["a-b"]["a-b"](1, 2, "string");
>h : Symbol(h, Decl(newWithSpreadES5.ts, 30, 3))
>"a-b" : Symbol(C."a-b", Decl(newWithSpreadES5.ts, 16, 13))
>"a-b" : Symbol(C["a-b"], Decl(newWithSpreadES5.ts, 16, 13))
new h["a-b"]["a-b"](1, 2, ...a);
>h : Symbol(h, Decl(newWithSpreadES5.ts, 30, 3))
>"a-b" : Symbol(C."a-b", Decl(newWithSpreadES5.ts, 16, 13))
>"a-b" : Symbol(C["a-b"], Decl(newWithSpreadES5.ts, 16, 13))
>a : Symbol(a, Decl(newWithSpreadES5.ts, 24, 3))
new h["a-b"]["a-b"](1, 2, ...a, "string");
>h : Symbol(h, Decl(newWithSpreadES5.ts, 30, 3))
>"a-b" : Symbol(C."a-b", Decl(newWithSpreadES5.ts, 16, 13))
>"a-b" : Symbol(C["a-b"], Decl(newWithSpreadES5.ts, 16, 13))
>a : Symbol(a, Decl(newWithSpreadES5.ts, 24, 3))
// Element access expression with a number

View File

@@ -203,61 +203,61 @@ new B(1, 2, ...a, "string");
// Property access expression
new c["a-b"](1, 2, "string");
>c : Symbol(c, Decl(newWithSpreadES6.ts, 27, 3))
>"a-b" : Symbol(C."a-b", Decl(newWithSpreadES6.ts, 17, 13))
>"a-b" : Symbol(C["a-b"], Decl(newWithSpreadES6.ts, 17, 13))
new c["a-b"](1, 2, ...a);
>c : Symbol(c, Decl(newWithSpreadES6.ts, 27, 3))
>"a-b" : Symbol(C."a-b", Decl(newWithSpreadES6.ts, 17, 13))
>"a-b" : Symbol(C["a-b"], Decl(newWithSpreadES6.ts, 17, 13))
>a : Symbol(a, Decl(newWithSpreadES6.ts, 25, 3))
new c["a-b"](1, 2, ...a, "string");
>c : Symbol(c, Decl(newWithSpreadES6.ts, 27, 3))
>"a-b" : Symbol(C."a-b", Decl(newWithSpreadES6.ts, 17, 13))
>"a-b" : Symbol(C["a-b"], Decl(newWithSpreadES6.ts, 17, 13))
>a : Symbol(a, Decl(newWithSpreadES6.ts, 25, 3))
// Parenthesised expression
new (c["a-b"])(1, 2, "string");
>c : Symbol(c, Decl(newWithSpreadES6.ts, 27, 3))
>"a-b" : Symbol(C."a-b", Decl(newWithSpreadES6.ts, 17, 13))
>"a-b" : Symbol(C["a-b"], Decl(newWithSpreadES6.ts, 17, 13))
new (c["a-b"])(1, 2, ...a);
>c : Symbol(c, Decl(newWithSpreadES6.ts, 27, 3))
>"a-b" : Symbol(C."a-b", Decl(newWithSpreadES6.ts, 17, 13))
>"a-b" : Symbol(C["a-b"], Decl(newWithSpreadES6.ts, 17, 13))
>a : Symbol(a, Decl(newWithSpreadES6.ts, 25, 3))
new (c["a-b"])(1, 2, ...a, "string");
>c : Symbol(c, Decl(newWithSpreadES6.ts, 27, 3))
>"a-b" : Symbol(C."a-b", Decl(newWithSpreadES6.ts, 17, 13))
>"a-b" : Symbol(C["a-b"], Decl(newWithSpreadES6.ts, 17, 13))
>a : Symbol(a, Decl(newWithSpreadES6.ts, 25, 3))
// Element access expression
new g[1]["a-b"](1, 2, "string");
>g : Symbol(g, Decl(newWithSpreadES6.ts, 30, 3))
>"a-b" : Symbol(C."a-b", Decl(newWithSpreadES6.ts, 17, 13))
>"a-b" : Symbol(C["a-b"], Decl(newWithSpreadES6.ts, 17, 13))
new g[1]["a-b"](1, 2, ...a);
>g : Symbol(g, Decl(newWithSpreadES6.ts, 30, 3))
>"a-b" : Symbol(C."a-b", Decl(newWithSpreadES6.ts, 17, 13))
>"a-b" : Symbol(C["a-b"], Decl(newWithSpreadES6.ts, 17, 13))
>a : Symbol(a, Decl(newWithSpreadES6.ts, 25, 3))
new g[1]["a-b"](1, 2, ...a, "string");
>g : Symbol(g, Decl(newWithSpreadES6.ts, 30, 3))
>"a-b" : Symbol(C."a-b", Decl(newWithSpreadES6.ts, 17, 13))
>"a-b" : Symbol(C["a-b"], Decl(newWithSpreadES6.ts, 17, 13))
>a : Symbol(a, Decl(newWithSpreadES6.ts, 25, 3))
// Element access expression with a punctuated key
new h["a-b"]["a-b"](1, 2, "string");
>h : Symbol(h, Decl(newWithSpreadES6.ts, 31, 3))
>"a-b" : Symbol(C."a-b", Decl(newWithSpreadES6.ts, 17, 13))
>"a-b" : Symbol(C["a-b"], Decl(newWithSpreadES6.ts, 17, 13))
new h["a-b"]["a-b"](1, 2, ...a);
>h : Symbol(h, Decl(newWithSpreadES6.ts, 31, 3))
>"a-b" : Symbol(C."a-b", Decl(newWithSpreadES6.ts, 17, 13))
>"a-b" : Symbol(C["a-b"], Decl(newWithSpreadES6.ts, 17, 13))
>a : Symbol(a, Decl(newWithSpreadES6.ts, 25, 3))
new h["a-b"]["a-b"](1, 2, ...a, "string");
>h : Symbol(h, Decl(newWithSpreadES6.ts, 31, 3))
>"a-b" : Symbol(C."a-b", Decl(newWithSpreadES6.ts, 17, 13))
>"a-b" : Symbol(C["a-b"], Decl(newWithSpreadES6.ts, 17, 13))
>a : Symbol(a, Decl(newWithSpreadES6.ts, 25, 3))
// Element access expression with a number

View File

@@ -16,12 +16,12 @@ var c: C;
var r1 = c['1'];
>r1 : Symbol(r1, Decl(numericIndexingResults.ts, 7, 3), Decl(numericIndexingResults.ts, 21, 3), Decl(numericIndexingResults.ts, 34, 3))
>c : Symbol(c, Decl(numericIndexingResults.ts, 6, 3))
>'1' : Symbol(C.1, Decl(numericIndexingResults.ts, 1, 24))
>'1' : Symbol(C[1], Decl(numericIndexingResults.ts, 1, 24))
var r2 = c['2'];
>r2 : Symbol(r2, Decl(numericIndexingResults.ts, 8, 3), Decl(numericIndexingResults.ts, 22, 3), Decl(numericIndexingResults.ts, 35, 3))
>c : Symbol(c, Decl(numericIndexingResults.ts, 6, 3))
>'2' : Symbol(C."2", Decl(numericIndexingResults.ts, 2, 11))
>'2' : Symbol(C["2"], Decl(numericIndexingResults.ts, 2, 11))
var r3 = c['3'];
>r3 : Symbol(r3, Decl(numericIndexingResults.ts, 9, 3), Decl(numericIndexingResults.ts, 23, 3), Decl(numericIndexingResults.ts, 36, 3), Decl(numericIndexingResults.ts, 44, 3), Decl(numericIndexingResults.ts, 52, 3))
@@ -30,12 +30,12 @@ var r3 = c['3'];
var r4 = c[1];
>r4 : Symbol(r4, Decl(numericIndexingResults.ts, 10, 3), Decl(numericIndexingResults.ts, 24, 3), Decl(numericIndexingResults.ts, 37, 3), Decl(numericIndexingResults.ts, 45, 3), Decl(numericIndexingResults.ts, 53, 3))
>c : Symbol(c, Decl(numericIndexingResults.ts, 6, 3))
>1 : Symbol(C.1, Decl(numericIndexingResults.ts, 1, 24))
>1 : Symbol(C[1], Decl(numericIndexingResults.ts, 1, 24))
var r5 = c[2];
>r5 : Symbol(r5, Decl(numericIndexingResults.ts, 11, 3), Decl(numericIndexingResults.ts, 25, 3), Decl(numericIndexingResults.ts, 38, 3), Decl(numericIndexingResults.ts, 46, 3), Decl(numericIndexingResults.ts, 54, 3))
>c : Symbol(c, Decl(numericIndexingResults.ts, 6, 3))
>2 : Symbol(C."2", Decl(numericIndexingResults.ts, 2, 11))
>2 : Symbol(C["2"], Decl(numericIndexingResults.ts, 2, 11))
var r6 = c[3];
>r6 : Symbol(r6, Decl(numericIndexingResults.ts, 12, 3), Decl(numericIndexingResults.ts, 26, 3), Decl(numericIndexingResults.ts, 39, 3), Decl(numericIndexingResults.ts, 47, 3), Decl(numericIndexingResults.ts, 55, 3))
@@ -58,12 +58,12 @@ var i: I
var r1 = i['1'];
>r1 : Symbol(r1, Decl(numericIndexingResults.ts, 7, 3), Decl(numericIndexingResults.ts, 21, 3), Decl(numericIndexingResults.ts, 34, 3))
>i : Symbol(i, Decl(numericIndexingResults.ts, 20, 3))
>'1' : Symbol(I.1, Decl(numericIndexingResults.ts, 15, 24))
>'1' : Symbol(I[1], Decl(numericIndexingResults.ts, 15, 24))
var r2 = i['2'];
>r2 : Symbol(r2, Decl(numericIndexingResults.ts, 8, 3), Decl(numericIndexingResults.ts, 22, 3), Decl(numericIndexingResults.ts, 35, 3))
>i : Symbol(i, Decl(numericIndexingResults.ts, 20, 3))
>'2' : Symbol(I."2", Decl(numericIndexingResults.ts, 16, 14))
>'2' : Symbol(I["2"], Decl(numericIndexingResults.ts, 16, 14))
var r3 = i['3'];
>r3 : Symbol(r3, Decl(numericIndexingResults.ts, 9, 3), Decl(numericIndexingResults.ts, 23, 3), Decl(numericIndexingResults.ts, 36, 3), Decl(numericIndexingResults.ts, 44, 3), Decl(numericIndexingResults.ts, 52, 3))
@@ -72,12 +72,12 @@ var r3 = i['3'];
var r4 = i[1];
>r4 : Symbol(r4, Decl(numericIndexingResults.ts, 10, 3), Decl(numericIndexingResults.ts, 24, 3), Decl(numericIndexingResults.ts, 37, 3), Decl(numericIndexingResults.ts, 45, 3), Decl(numericIndexingResults.ts, 53, 3))
>i : Symbol(i, Decl(numericIndexingResults.ts, 20, 3))
>1 : Symbol(I.1, Decl(numericIndexingResults.ts, 15, 24))
>1 : Symbol(I[1], Decl(numericIndexingResults.ts, 15, 24))
var r5 = i[2];
>r5 : Symbol(r5, Decl(numericIndexingResults.ts, 11, 3), Decl(numericIndexingResults.ts, 25, 3), Decl(numericIndexingResults.ts, 38, 3), Decl(numericIndexingResults.ts, 46, 3), Decl(numericIndexingResults.ts, 54, 3))
>i : Symbol(i, Decl(numericIndexingResults.ts, 20, 3))
>2 : Symbol(I."2", Decl(numericIndexingResults.ts, 16, 14))
>2 : Symbol(I["2"], Decl(numericIndexingResults.ts, 16, 14))
var r6 = i[3];
>r6 : Symbol(r6, Decl(numericIndexingResults.ts, 12, 3), Decl(numericIndexingResults.ts, 26, 3), Decl(numericIndexingResults.ts, 39, 3), Decl(numericIndexingResults.ts, 47, 3), Decl(numericIndexingResults.ts, 55, 3))

View File

@@ -15,22 +15,22 @@ var c: C;
var r1 = c[1];
>r1 : Symbol(r1, Decl(objectTypeWithNumericProperty.ts, 8, 3), Decl(objectTypeWithNumericProperty.ts, 19, 3), Decl(objectTypeWithNumericProperty.ts, 29, 3), Decl(objectTypeWithNumericProperty.ts, 39, 3))
>c : Symbol(c, Decl(objectTypeWithNumericProperty.ts, 7, 3))
>1 : Symbol(C.1, Decl(objectTypeWithNumericProperty.ts, 2, 9))
>1 : Symbol(C[1], Decl(objectTypeWithNumericProperty.ts, 2, 9))
var r2 = c[1.1];
>r2 : Symbol(r2, Decl(objectTypeWithNumericProperty.ts, 9, 3), Decl(objectTypeWithNumericProperty.ts, 20, 3), Decl(objectTypeWithNumericProperty.ts, 30, 3), Decl(objectTypeWithNumericProperty.ts, 40, 3))
>c : Symbol(c, Decl(objectTypeWithNumericProperty.ts, 7, 3))
>1.1 : Symbol(C.1.1, Decl(objectTypeWithNumericProperty.ts, 3, 14))
>1.1 : Symbol(C[1.1], Decl(objectTypeWithNumericProperty.ts, 3, 14))
var r3 = c['1'];
>r3 : Symbol(r3, Decl(objectTypeWithNumericProperty.ts, 10, 3), Decl(objectTypeWithNumericProperty.ts, 21, 3), Decl(objectTypeWithNumericProperty.ts, 31, 3), Decl(objectTypeWithNumericProperty.ts, 41, 3))
>c : Symbol(c, Decl(objectTypeWithNumericProperty.ts, 7, 3))
>'1' : Symbol(C.1, Decl(objectTypeWithNumericProperty.ts, 2, 9))
>'1' : Symbol(C[1], Decl(objectTypeWithNumericProperty.ts, 2, 9))
var r4 = c['1.1'];
>r4 : Symbol(r4, Decl(objectTypeWithNumericProperty.ts, 11, 3), Decl(objectTypeWithNumericProperty.ts, 22, 3), Decl(objectTypeWithNumericProperty.ts, 32, 3), Decl(objectTypeWithNumericProperty.ts, 42, 3))
>c : Symbol(c, Decl(objectTypeWithNumericProperty.ts, 7, 3))
>'1.1' : Symbol(C.1.1, Decl(objectTypeWithNumericProperty.ts, 3, 14))
>'1.1' : Symbol(C[1.1], Decl(objectTypeWithNumericProperty.ts, 3, 14))
interface I {
>I : Symbol(I, Decl(objectTypeWithNumericProperty.ts, 11, 18))
@@ -46,22 +46,22 @@ var i: I;
var r1 = i[1];
>r1 : Symbol(r1, Decl(objectTypeWithNumericProperty.ts, 8, 3), Decl(objectTypeWithNumericProperty.ts, 19, 3), Decl(objectTypeWithNumericProperty.ts, 29, 3), Decl(objectTypeWithNumericProperty.ts, 39, 3))
>i : Symbol(i, Decl(objectTypeWithNumericProperty.ts, 18, 3))
>1 : Symbol(I.1, Decl(objectTypeWithNumericProperty.ts, 13, 13))
>1 : Symbol(I[1], Decl(objectTypeWithNumericProperty.ts, 13, 13))
var r2 = i[1.1];
>r2 : Symbol(r2, Decl(objectTypeWithNumericProperty.ts, 9, 3), Decl(objectTypeWithNumericProperty.ts, 20, 3), Decl(objectTypeWithNumericProperty.ts, 30, 3), Decl(objectTypeWithNumericProperty.ts, 40, 3))
>i : Symbol(i, Decl(objectTypeWithNumericProperty.ts, 18, 3))
>1.1 : Symbol(I.1.1, Decl(objectTypeWithNumericProperty.ts, 14, 14))
>1.1 : Symbol(I[1.1], Decl(objectTypeWithNumericProperty.ts, 14, 14))
var r3 = i['1'];
>r3 : Symbol(r3, Decl(objectTypeWithNumericProperty.ts, 10, 3), Decl(objectTypeWithNumericProperty.ts, 21, 3), Decl(objectTypeWithNumericProperty.ts, 31, 3), Decl(objectTypeWithNumericProperty.ts, 41, 3))
>i : Symbol(i, Decl(objectTypeWithNumericProperty.ts, 18, 3))
>'1' : Symbol(I.1, Decl(objectTypeWithNumericProperty.ts, 13, 13))
>'1' : Symbol(I[1], Decl(objectTypeWithNumericProperty.ts, 13, 13))
var r4 = i['1.1'];
>r4 : Symbol(r4, Decl(objectTypeWithNumericProperty.ts, 11, 3), Decl(objectTypeWithNumericProperty.ts, 22, 3), Decl(objectTypeWithNumericProperty.ts, 32, 3), Decl(objectTypeWithNumericProperty.ts, 42, 3))
>i : Symbol(i, Decl(objectTypeWithNumericProperty.ts, 18, 3))
>'1.1' : Symbol(I.1.1, Decl(objectTypeWithNumericProperty.ts, 14, 14))
>'1.1' : Symbol(I[1.1], Decl(objectTypeWithNumericProperty.ts, 14, 14))
var a: {
>a : Symbol(a, Decl(objectTypeWithNumericProperty.ts, 24, 3))

View File

@@ -31,47 +31,47 @@ var c: C;
var r1 = c['0.1'];
>r1 : Symbol(r1, Decl(objectTypeWithStringNamedNumericProperty.ts, 17, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 48, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 78, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 108, 3))
>c : Symbol(c, Decl(objectTypeWithStringNamedNumericProperty.ts, 16, 3))
>'0.1' : Symbol(C."0.1", Decl(objectTypeWithStringNamedNumericProperty.ts, 5, 9))
>'0.1' : Symbol(C["0.1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 5, 9))
var r2 = c['.1'];
>r2 : Symbol(r2, Decl(objectTypeWithStringNamedNumericProperty.ts, 18, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 49, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 79, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 109, 3))
>c : Symbol(c, Decl(objectTypeWithStringNamedNumericProperty.ts, 16, 3))
>'.1' : Symbol(C.".1", Decl(objectTypeWithStringNamedNumericProperty.ts, 6, 16))
>'.1' : Symbol(C[".1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 6, 16))
var r3 = c['1'];
>r3 : Symbol(r3, Decl(objectTypeWithStringNamedNumericProperty.ts, 19, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 20, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 22, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 25, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 50, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 51, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 53, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 56, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 80, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 81, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 83, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 86, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 110, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 111, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 113, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 116, 3))
>c : Symbol(c, Decl(objectTypeWithStringNamedNumericProperty.ts, 16, 3))
>'1' : Symbol(C."1", Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
>'1' : Symbol(C["1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
var r3 = c[1];
>r3 : Symbol(r3, Decl(objectTypeWithStringNamedNumericProperty.ts, 19, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 20, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 22, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 25, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 50, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 51, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 53, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 56, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 80, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 81, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 83, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 86, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 110, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 111, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 113, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 116, 3))
>c : Symbol(c, Decl(objectTypeWithStringNamedNumericProperty.ts, 16, 3))
>1 : Symbol(C."1", Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
>1 : Symbol(C["1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
var r4 = c['1.'];
>r4 : Symbol(r4, Decl(objectTypeWithStringNamedNumericProperty.ts, 21, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 52, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 82, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 112, 3))
>c : Symbol(c, Decl(objectTypeWithStringNamedNumericProperty.ts, 16, 3))
>'1.' : Symbol(C."1.", Decl(objectTypeWithStringNamedNumericProperty.ts, 8, 16))
>'1.' : Symbol(C["1."], Decl(objectTypeWithStringNamedNumericProperty.ts, 8, 16))
var r3 = c[1.]; // same as indexing by 1 when done numerically
>r3 : Symbol(r3, Decl(objectTypeWithStringNamedNumericProperty.ts, 19, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 20, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 22, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 25, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 50, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 51, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 53, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 56, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 80, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 81, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 83, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 86, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 110, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 111, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 113, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 116, 3))
>c : Symbol(c, Decl(objectTypeWithStringNamedNumericProperty.ts, 16, 3))
>1. : Symbol(C."1", Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
>1. : Symbol(C["1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
var r5 = c['1..'];
>r5 : Symbol(r5, Decl(objectTypeWithStringNamedNumericProperty.ts, 23, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 54, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 84, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 114, 3))
>c : Symbol(c, Decl(objectTypeWithStringNamedNumericProperty.ts, 16, 3))
>'1..' : Symbol(C."1..", Decl(objectTypeWithStringNamedNumericProperty.ts, 9, 17))
>'1..' : Symbol(C["1.."], Decl(objectTypeWithStringNamedNumericProperty.ts, 9, 17))
var r6 = c['1.0'];
>r6 : Symbol(r6, Decl(objectTypeWithStringNamedNumericProperty.ts, 24, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 55, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 85, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 115, 3))
>c : Symbol(c, Decl(objectTypeWithStringNamedNumericProperty.ts, 16, 3))
>'1.0' : Symbol(C."1.0", Decl(objectTypeWithStringNamedNumericProperty.ts, 10, 19))
>'1.0' : Symbol(C["1.0"], Decl(objectTypeWithStringNamedNumericProperty.ts, 10, 19))
var r3 = c[1.0]; // same as indexing by 1 when done numerically
>r3 : Symbol(r3, Decl(objectTypeWithStringNamedNumericProperty.ts, 19, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 20, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 22, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 25, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 50, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 51, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 53, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 56, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 80, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 81, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 83, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 86, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 110, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 111, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 113, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 116, 3))
>c : Symbol(c, Decl(objectTypeWithStringNamedNumericProperty.ts, 16, 3))
>1.0 : Symbol(C."1", Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
>1.0 : Symbol(C["1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
// BUG 823822
var r7 = i[-1];
@@ -85,17 +85,17 @@ var r7 = i[-1.0];
var r8 = i["-1.0"];
>r8 : Symbol(r8, Decl(objectTypeWithStringNamedNumericProperty.ts, 29, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 60, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 90, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 120, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedNumericProperty.ts, 47, 3))
>"-1.0" : Symbol(I."-1.0", Decl(objectTypeWithStringNamedNumericProperty.ts, 42, 16))
>"-1.0" : Symbol(I["-1.0"], Decl(objectTypeWithStringNamedNumericProperty.ts, 42, 16))
var r9 = i["-1"];
>r9 : Symbol(r9, Decl(objectTypeWithStringNamedNumericProperty.ts, 30, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 61, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 91, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 121, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedNumericProperty.ts, 47, 3))
>"-1" : Symbol(I."-1", Decl(objectTypeWithStringNamedNumericProperty.ts, 43, 19))
>"-1" : Symbol(I["-1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 43, 19))
var r10 = i[0x1]
>r10 : Symbol(r10, Decl(objectTypeWithStringNamedNumericProperty.ts, 31, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 62, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 92, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 122, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedNumericProperty.ts, 47, 3))
>0x1 : Symbol(I."1", Decl(objectTypeWithStringNamedNumericProperty.ts, 38, 17))
>0x1 : Symbol(I["1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 38, 17))
var r11 = i[-0x1]
>r11 : Symbol(r11, Decl(objectTypeWithStringNamedNumericProperty.ts, 32, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 63, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 93, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 123, 3))
@@ -104,7 +104,7 @@ var r11 = i[-0x1]
var r12 = i[01]
>r12 : Symbol(r12, Decl(objectTypeWithStringNamedNumericProperty.ts, 33, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 64, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 94, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 124, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedNumericProperty.ts, 47, 3))
>01 : Symbol(I."1", Decl(objectTypeWithStringNamedNumericProperty.ts, 38, 17))
>01 : Symbol(I["1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 38, 17))
var r13 = i[-01]
>r13 : Symbol(r13, Decl(objectTypeWithStringNamedNumericProperty.ts, 34, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 65, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 95, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 125, 3))
@@ -137,47 +137,47 @@ var i: I;
var r1 = i['0.1'];
>r1 : Symbol(r1, Decl(objectTypeWithStringNamedNumericProperty.ts, 17, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 48, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 78, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 108, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedNumericProperty.ts, 47, 3))
>'0.1' : Symbol(I."0.1", Decl(objectTypeWithStringNamedNumericProperty.ts, 36, 13))
>'0.1' : Symbol(I["0.1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 36, 13))
var r2 = i['.1'];
>r2 : Symbol(r2, Decl(objectTypeWithStringNamedNumericProperty.ts, 18, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 49, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 79, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 109, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedNumericProperty.ts, 47, 3))
>'.1' : Symbol(I.".1", Decl(objectTypeWithStringNamedNumericProperty.ts, 37, 16))
>'.1' : Symbol(I[".1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 37, 16))
var r3 = i['1'];
>r3 : Symbol(r3, Decl(objectTypeWithStringNamedNumericProperty.ts, 19, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 20, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 22, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 25, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 50, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 51, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 53, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 56, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 80, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 81, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 83, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 86, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 110, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 111, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 113, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 116, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedNumericProperty.ts, 47, 3))
>'1' : Symbol(I."1", Decl(objectTypeWithStringNamedNumericProperty.ts, 38, 17))
>'1' : Symbol(I["1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 38, 17))
var r3 = c[1];
>r3 : Symbol(r3, Decl(objectTypeWithStringNamedNumericProperty.ts, 19, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 20, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 22, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 25, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 50, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 51, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 53, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 56, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 80, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 81, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 83, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 86, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 110, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 111, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 113, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 116, 3))
>c : Symbol(c, Decl(objectTypeWithStringNamedNumericProperty.ts, 16, 3))
>1 : Symbol(C."1", Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
>1 : Symbol(C["1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
var r4 = i['1.'];
>r4 : Symbol(r4, Decl(objectTypeWithStringNamedNumericProperty.ts, 21, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 52, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 82, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 112, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedNumericProperty.ts, 47, 3))
>'1.' : Symbol(I."1.", Decl(objectTypeWithStringNamedNumericProperty.ts, 39, 16))
>'1.' : Symbol(I["1."], Decl(objectTypeWithStringNamedNumericProperty.ts, 39, 16))
var r3 = c[1.]; // same as indexing by 1 when done numerically
>r3 : Symbol(r3, Decl(objectTypeWithStringNamedNumericProperty.ts, 19, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 20, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 22, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 25, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 50, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 51, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 53, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 56, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 80, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 81, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 83, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 86, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 110, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 111, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 113, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 116, 3))
>c : Symbol(c, Decl(objectTypeWithStringNamedNumericProperty.ts, 16, 3))
>1. : Symbol(C."1", Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
>1. : Symbol(C["1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
var r5 = i['1..'];
>r5 : Symbol(r5, Decl(objectTypeWithStringNamedNumericProperty.ts, 23, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 54, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 84, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 114, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedNumericProperty.ts, 47, 3))
>'1..' : Symbol(I."1..", Decl(objectTypeWithStringNamedNumericProperty.ts, 40, 17))
>'1..' : Symbol(I["1.."], Decl(objectTypeWithStringNamedNumericProperty.ts, 40, 17))
var r6 = i['1.0'];
>r6 : Symbol(r6, Decl(objectTypeWithStringNamedNumericProperty.ts, 24, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 55, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 85, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 115, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedNumericProperty.ts, 47, 3))
>'1.0' : Symbol(I."1.0", Decl(objectTypeWithStringNamedNumericProperty.ts, 41, 19))
>'1.0' : Symbol(I["1.0"], Decl(objectTypeWithStringNamedNumericProperty.ts, 41, 19))
var r3 = c[1.0]; // same as indexing by 1 when done numerically
>r3 : Symbol(r3, Decl(objectTypeWithStringNamedNumericProperty.ts, 19, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 20, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 22, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 25, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 50, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 51, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 53, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 56, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 80, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 81, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 83, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 86, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 110, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 111, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 113, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 116, 3))
>c : Symbol(c, Decl(objectTypeWithStringNamedNumericProperty.ts, 16, 3))
>1.0 : Symbol(C."1", Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
>1.0 : Symbol(C["1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
// BUG 823822
var r7 = i[-1];
@@ -191,17 +191,17 @@ var r7 = i[-1.0];
var r8 = i["-1.0"];
>r8 : Symbol(r8, Decl(objectTypeWithStringNamedNumericProperty.ts, 29, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 60, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 90, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 120, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedNumericProperty.ts, 47, 3))
>"-1.0" : Symbol(I."-1.0", Decl(objectTypeWithStringNamedNumericProperty.ts, 42, 16))
>"-1.0" : Symbol(I["-1.0"], Decl(objectTypeWithStringNamedNumericProperty.ts, 42, 16))
var r9 = i["-1"];
>r9 : Symbol(r9, Decl(objectTypeWithStringNamedNumericProperty.ts, 30, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 61, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 91, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 121, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedNumericProperty.ts, 47, 3))
>"-1" : Symbol(I."-1", Decl(objectTypeWithStringNamedNumericProperty.ts, 43, 19))
>"-1" : Symbol(I["-1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 43, 19))
var r10 = i[0x1]
>r10 : Symbol(r10, Decl(objectTypeWithStringNamedNumericProperty.ts, 31, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 62, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 92, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 122, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedNumericProperty.ts, 47, 3))
>0x1 : Symbol(I."1", Decl(objectTypeWithStringNamedNumericProperty.ts, 38, 17))
>0x1 : Symbol(I["1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 38, 17))
var r11 = i[-0x1]
>r11 : Symbol(r11, Decl(objectTypeWithStringNamedNumericProperty.ts, 32, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 63, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 93, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 123, 3))
@@ -210,7 +210,7 @@ var r11 = i[-0x1]
var r12 = i[01]
>r12 : Symbol(r12, Decl(objectTypeWithStringNamedNumericProperty.ts, 33, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 64, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 94, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 124, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedNumericProperty.ts, 47, 3))
>01 : Symbol(I."1", Decl(objectTypeWithStringNamedNumericProperty.ts, 38, 17))
>01 : Symbol(I["1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 38, 17))
var r13 = i[-01]
>r13 : Symbol(r13, Decl(objectTypeWithStringNamedNumericProperty.ts, 34, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 65, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 95, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 125, 3))
@@ -254,7 +254,7 @@ var r3 = a['1'];
var r3 = c[1];
>r3 : Symbol(r3, Decl(objectTypeWithStringNamedNumericProperty.ts, 19, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 20, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 22, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 25, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 50, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 51, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 53, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 56, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 80, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 81, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 83, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 86, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 110, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 111, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 113, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 116, 3))
>c : Symbol(c, Decl(objectTypeWithStringNamedNumericProperty.ts, 16, 3))
>1 : Symbol(C."1", Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
>1 : Symbol(C["1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
var r4 = a['1.'];
>r4 : Symbol(r4, Decl(objectTypeWithStringNamedNumericProperty.ts, 21, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 52, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 82, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 112, 3))
@@ -264,7 +264,7 @@ var r4 = a['1.'];
var r3 = c[1.]; // same as indexing by 1 when done numerically
>r3 : Symbol(r3, Decl(objectTypeWithStringNamedNumericProperty.ts, 19, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 20, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 22, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 25, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 50, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 51, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 53, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 56, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 80, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 81, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 83, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 86, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 110, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 111, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 113, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 116, 3))
>c : Symbol(c, Decl(objectTypeWithStringNamedNumericProperty.ts, 16, 3))
>1. : Symbol(C."1", Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
>1. : Symbol(C["1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
var r5 = a['1..'];
>r5 : Symbol(r5, Decl(objectTypeWithStringNamedNumericProperty.ts, 23, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 54, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 84, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 114, 3))
@@ -279,7 +279,7 @@ var r6 = a['1.0'];
var r3 = c[1.0]; // same as indexing by 1 when done numerically
>r3 : Symbol(r3, Decl(objectTypeWithStringNamedNumericProperty.ts, 19, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 20, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 22, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 25, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 50, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 51, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 53, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 56, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 80, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 81, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 83, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 86, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 110, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 111, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 113, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 116, 3))
>c : Symbol(c, Decl(objectTypeWithStringNamedNumericProperty.ts, 16, 3))
>1.0 : Symbol(C."1", Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
>1.0 : Symbol(C["1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
// BUG 823822
var r7 = i[-1];
@@ -293,17 +293,17 @@ var r7 = i[-1.0];
var r8 = i["-1.0"];
>r8 : Symbol(r8, Decl(objectTypeWithStringNamedNumericProperty.ts, 29, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 60, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 90, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 120, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedNumericProperty.ts, 47, 3))
>"-1.0" : Symbol(I."-1.0", Decl(objectTypeWithStringNamedNumericProperty.ts, 42, 16))
>"-1.0" : Symbol(I["-1.0"], Decl(objectTypeWithStringNamedNumericProperty.ts, 42, 16))
var r9 = i["-1"];
>r9 : Symbol(r9, Decl(objectTypeWithStringNamedNumericProperty.ts, 30, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 61, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 91, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 121, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedNumericProperty.ts, 47, 3))
>"-1" : Symbol(I."-1", Decl(objectTypeWithStringNamedNumericProperty.ts, 43, 19))
>"-1" : Symbol(I["-1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 43, 19))
var r10 = i[0x1]
>r10 : Symbol(r10, Decl(objectTypeWithStringNamedNumericProperty.ts, 31, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 62, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 92, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 122, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedNumericProperty.ts, 47, 3))
>0x1 : Symbol(I."1", Decl(objectTypeWithStringNamedNumericProperty.ts, 38, 17))
>0x1 : Symbol(I["1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 38, 17))
var r11 = i[-0x1]
>r11 : Symbol(r11, Decl(objectTypeWithStringNamedNumericProperty.ts, 32, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 63, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 93, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 123, 3))
@@ -312,7 +312,7 @@ var r11 = i[-0x1]
var r12 = i[01]
>r12 : Symbol(r12, Decl(objectTypeWithStringNamedNumericProperty.ts, 33, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 64, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 94, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 124, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedNumericProperty.ts, 47, 3))
>01 : Symbol(I."1", Decl(objectTypeWithStringNamedNumericProperty.ts, 38, 17))
>01 : Symbol(I["1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 38, 17))
var r13 = i[-01]
>r13 : Symbol(r13, Decl(objectTypeWithStringNamedNumericProperty.ts, 34, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 65, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 95, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 125, 3))
@@ -355,7 +355,7 @@ var r3 = b['1'];
var r3 = c[1];
>r3 : Symbol(r3, Decl(objectTypeWithStringNamedNumericProperty.ts, 19, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 20, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 22, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 25, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 50, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 51, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 53, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 56, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 80, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 81, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 83, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 86, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 110, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 111, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 113, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 116, 3))
>c : Symbol(c, Decl(objectTypeWithStringNamedNumericProperty.ts, 16, 3))
>1 : Symbol(C."1", Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
>1 : Symbol(C["1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
var r4 = b['1.'];
>r4 : Symbol(r4, Decl(objectTypeWithStringNamedNumericProperty.ts, 21, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 52, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 82, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 112, 3))
@@ -365,7 +365,7 @@ var r4 = b['1.'];
var r3 = c[1.]; // same as indexing by 1 when done numerically
>r3 : Symbol(r3, Decl(objectTypeWithStringNamedNumericProperty.ts, 19, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 20, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 22, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 25, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 50, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 51, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 53, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 56, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 80, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 81, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 83, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 86, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 110, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 111, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 113, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 116, 3))
>c : Symbol(c, Decl(objectTypeWithStringNamedNumericProperty.ts, 16, 3))
>1. : Symbol(C."1", Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
>1. : Symbol(C["1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
var r5 = b['1..'];
>r5 : Symbol(r5, Decl(objectTypeWithStringNamedNumericProperty.ts, 23, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 54, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 84, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 114, 3))
@@ -380,7 +380,7 @@ var r6 = b['1.0'];
var r3 = c[1.0]; // same as indexing by 1 when done numerically
>r3 : Symbol(r3, Decl(objectTypeWithStringNamedNumericProperty.ts, 19, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 20, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 22, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 25, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 50, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 51, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 53, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 56, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 80, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 81, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 83, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 86, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 110, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 111, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 113, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 116, 3))
>c : Symbol(c, Decl(objectTypeWithStringNamedNumericProperty.ts, 16, 3))
>1.0 : Symbol(C."1", Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
>1.0 : Symbol(C["1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 7, 17))
// BUG 823822
var r7 = i[-1];
@@ -394,17 +394,17 @@ var r7 = i[-1.0];
var r8 = i["-1.0"];
>r8 : Symbol(r8, Decl(objectTypeWithStringNamedNumericProperty.ts, 29, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 60, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 90, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 120, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedNumericProperty.ts, 47, 3))
>"-1.0" : Symbol(I."-1.0", Decl(objectTypeWithStringNamedNumericProperty.ts, 42, 16))
>"-1.0" : Symbol(I["-1.0"], Decl(objectTypeWithStringNamedNumericProperty.ts, 42, 16))
var r9 = i["-1"];
>r9 : Symbol(r9, Decl(objectTypeWithStringNamedNumericProperty.ts, 30, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 61, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 91, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 121, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedNumericProperty.ts, 47, 3))
>"-1" : Symbol(I."-1", Decl(objectTypeWithStringNamedNumericProperty.ts, 43, 19))
>"-1" : Symbol(I["-1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 43, 19))
var r10 = i[0x1]
>r10 : Symbol(r10, Decl(objectTypeWithStringNamedNumericProperty.ts, 31, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 62, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 92, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 122, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedNumericProperty.ts, 47, 3))
>0x1 : Symbol(I."1", Decl(objectTypeWithStringNamedNumericProperty.ts, 38, 17))
>0x1 : Symbol(I["1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 38, 17))
var r11 = i[-0x1]
>r11 : Symbol(r11, Decl(objectTypeWithStringNamedNumericProperty.ts, 32, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 63, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 93, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 123, 3))
@@ -413,7 +413,7 @@ var r11 = i[-0x1]
var r12 = i[01]
>r12 : Symbol(r12, Decl(objectTypeWithStringNamedNumericProperty.ts, 33, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 64, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 94, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 124, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedNumericProperty.ts, 47, 3))
>01 : Symbol(I."1", Decl(objectTypeWithStringNamedNumericProperty.ts, 38, 17))
>01 : Symbol(I["1"], Decl(objectTypeWithStringNamedNumericProperty.ts, 38, 17))
var r13 = i[-01]
>r13 : Symbol(r13, Decl(objectTypeWithStringNamedNumericProperty.ts, 34, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 65, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 95, 3), Decl(objectTypeWithStringNamedNumericProperty.ts, 125, 3))

View File

@@ -16,7 +16,7 @@ var c: C;
var r = c[" "];
>r : Symbol(r, Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 9, 3), Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 22, 3), Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 35, 3), Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 47, 3))
>c : Symbol(c, Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 8, 3))
>" " : Symbol(C." ", Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 0, 9))
>" " : Symbol(C[" "], Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 0, 9))
var r2 = c[" "];
>r2 : Symbol(r2, Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 10, 3), Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 23, 3), Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 36, 3), Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 48, 3))
@@ -25,13 +25,13 @@ var r2 = c[" "];
var r3 = c["a b"];
>r3 : Symbol(r3, Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 11, 3), Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 24, 3), Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 37, 3), Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 49, 3))
>c : Symbol(c, Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 8, 3))
>"a b" : Symbol(C."a b", Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 1, 18))
>"a b" : Symbol(C["a b"], Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 1, 18))
// BUG 817263
var r4 = c["~!@#$%^&*()_+{}|:'<>?\/.,`"];
>r4 : Symbol(r4, Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 13, 3), Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 26, 3), Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 39, 3), Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 51, 3))
>c : Symbol(c, Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 8, 3))
>"~!@#$%^&*()_+{}|:'<>?\/.,`" : Symbol(C."~!@#$%^&*()_+{}|:'<>?\/.,`", Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 2, 20))
>"~!@#$%^&*()_+{}|:'<>?\/.,`" : Symbol(C["~!@#$%^&*()_+{}|:'<>?\/.,`"], Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 2, 20))
interface I {
>I : Symbol(I, Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 13, 41))
@@ -48,7 +48,7 @@ var i: I;
var r = i[" "];
>r : Symbol(r, Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 9, 3), Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 22, 3), Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 35, 3), Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 47, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 21, 3))
>" " : Symbol(I." ", Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 15, 13))
>" " : Symbol(I[" "], Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 15, 13))
var r2 = i[" "];
>r2 : Symbol(r2, Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 10, 3), Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 23, 3), Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 36, 3), Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 48, 3))
@@ -57,13 +57,13 @@ var r2 = i[" "];
var r3 = i["a b"];
>r3 : Symbol(r3, Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 11, 3), Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 24, 3), Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 37, 3), Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 49, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 21, 3))
>"a b" : Symbol(I."a b", Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 16, 18))
>"a b" : Symbol(I["a b"], Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 16, 18))
// BUG 817263
var r4 = i["~!@#$%^&*()_+{}|:'<>?\/.,`"];
>r4 : Symbol(r4, Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 13, 3), Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 26, 3), Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 39, 3), Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 51, 3))
>i : Symbol(i, Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 21, 3))
>"~!@#$%^&*()_+{}|:'<>?\/.,`" : Symbol(I."~!@#$%^&*()_+{}|:'<>?\/.,`", Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 17, 20))
>"~!@#$%^&*()_+{}|:'<>?\/.,`" : Symbol(I["~!@#$%^&*()_+{}|:'<>?\/.,`"], Decl(objectTypeWithStringNamedPropertyOfIllegalCharacters.ts, 17, 20))
var a: {

View File

@@ -38,16 +38,16 @@ var a = Color.namedColors["azure"];
var a = Color.namedColors.blue; // Should not error
>a : Symbol(a, Decl(propertyNamesWithStringLiteral.ts, 12, 3), Decl(propertyNamesWithStringLiteral.ts, 13, 3), Decl(propertyNamesWithStringLiteral.ts, 14, 3))
>Color.namedColors.blue : Symbol(NamedColors."blue", Decl(propertyNamesWithStringLiteral.ts, 5, 18))
>Color.namedColors.blue : Symbol(NamedColors["blue"], Decl(propertyNamesWithStringLiteral.ts, 5, 18))
>Color.namedColors : Symbol(Color.namedColors, Decl(propertyNamesWithStringLiteral.ts, 10, 14))
>Color : Symbol(Color, Decl(propertyNamesWithStringLiteral.ts, 8, 1))
>namedColors : Symbol(Color.namedColors, Decl(propertyNamesWithStringLiteral.ts, 10, 14))
>blue : Symbol(NamedColors."blue", Decl(propertyNamesWithStringLiteral.ts, 5, 18))
>blue : Symbol(NamedColors["blue"], Decl(propertyNamesWithStringLiteral.ts, 5, 18))
var a = Color.namedColors["pale blue"]; // should not error
>a : Symbol(a, Decl(propertyNamesWithStringLiteral.ts, 12, 3), Decl(propertyNamesWithStringLiteral.ts, 13, 3), Decl(propertyNamesWithStringLiteral.ts, 14, 3))
>Color.namedColors : Symbol(Color.namedColors, Decl(propertyNamesWithStringLiteral.ts, 10, 14))
>Color : Symbol(Color, Decl(propertyNamesWithStringLiteral.ts, 8, 1))
>namedColors : Symbol(Color.namedColors, Decl(propertyNamesWithStringLiteral.ts, 10, 14))
>"pale blue" : Symbol(NamedColors."pale blue", Decl(propertyNamesWithStringLiteral.ts, 6, 19))
>"pale blue" : Symbol(NamedColors["pale blue"], Decl(propertyNamesWithStringLiteral.ts, 6, 19))

View File

@@ -9,7 +9,7 @@ class Test {
var x = () => this["prop1"];
>x : Symbol(x, Decl(quotedPropertyName3.ts, 3, 11))
>this : Symbol(Test, Decl(quotedPropertyName3.ts, 0, 0))
>"prop1" : Symbol(Test."prop1", Decl(quotedPropertyName3.ts, 0, 12))
>"prop1" : Symbol(Test["prop1"], Decl(quotedPropertyName3.ts, 0, 12))
var y: number = x();
>y : Symbol(y, Decl(quotedPropertyName3.ts, 4, 11))

View File

@@ -8,30 +8,30 @@ class C {
x = C['foo'];
>x : Symbol(C.x, Decl(staticMemberWithStringAndNumberNames.ts, 2, 17))
>C : Symbol(C, Decl(staticMemberWithStringAndNumberNames.ts, 0, 0))
>'foo' : Symbol(C."foo", Decl(staticMemberWithStringAndNumberNames.ts, 0, 9))
>'foo' : Symbol(C["foo"], Decl(staticMemberWithStringAndNumberNames.ts, 0, 9))
x2 = C['0'];
>x2 : Symbol(C.x2, Decl(staticMemberWithStringAndNumberNames.ts, 4, 17))
>C : Symbol(C, Decl(staticMemberWithStringAndNumberNames.ts, 0, 0))
>'0' : Symbol(C.0, Decl(staticMemberWithStringAndNumberNames.ts, 1, 21))
>'0' : Symbol(C[0], Decl(staticMemberWithStringAndNumberNames.ts, 1, 21))
x3 = C[0];
>x3 : Symbol(C.x3, Decl(staticMemberWithStringAndNumberNames.ts, 5, 16))
>C : Symbol(C, Decl(staticMemberWithStringAndNumberNames.ts, 0, 0))
>0 : Symbol(C.0, Decl(staticMemberWithStringAndNumberNames.ts, 1, 21))
>0 : Symbol(C[0], Decl(staticMemberWithStringAndNumberNames.ts, 1, 21))
static s = C['foo'];
>s : Symbol(C.s, Decl(staticMemberWithStringAndNumberNames.ts, 6, 14))
>C : Symbol(C, Decl(staticMemberWithStringAndNumberNames.ts, 0, 0))
>'foo' : Symbol(C."foo", Decl(staticMemberWithStringAndNumberNames.ts, 0, 9))
>'foo' : Symbol(C["foo"], Decl(staticMemberWithStringAndNumberNames.ts, 0, 9))
static s2 = C['0'];
>s2 : Symbol(C.s2, Decl(staticMemberWithStringAndNumberNames.ts, 8, 24))
>C : Symbol(C, Decl(staticMemberWithStringAndNumberNames.ts, 0, 0))
>'0' : Symbol(C.0, Decl(staticMemberWithStringAndNumberNames.ts, 1, 21))
>'0' : Symbol(C[0], Decl(staticMemberWithStringAndNumberNames.ts, 1, 21))
static s3 = C[0];
>s3 : Symbol(C.s3, Decl(staticMemberWithStringAndNumberNames.ts, 9, 23))
>C : Symbol(C, Decl(staticMemberWithStringAndNumberNames.ts, 0, 0))
>0 : Symbol(C.0, Decl(staticMemberWithStringAndNumberNames.ts, 1, 21))
>0 : Symbol(C[0], Decl(staticMemberWithStringAndNumberNames.ts, 1, 21))
}

View File

@@ -12,12 +12,12 @@ var c: C;
var r1 = c["a b"];
>r1 : Symbol(r1, Decl(stringNamedPropertyAccess.ts, 5, 3))
>c : Symbol(c, Decl(stringNamedPropertyAccess.ts, 4, 3))
>"a b" : Symbol(C."a b", Decl(stringNamedPropertyAccess.ts, 0, 9))
>"a b" : Symbol(C["a b"], Decl(stringNamedPropertyAccess.ts, 0, 9))
var r1b = C['c d'];
>r1b : Symbol(r1b, Decl(stringNamedPropertyAccess.ts, 6, 3))
>C : Symbol(C, Decl(stringNamedPropertyAccess.ts, 0, 0))
>'c d' : Symbol(C."c d", Decl(stringNamedPropertyAccess.ts, 1, 18))
>'c d' : Symbol(C["c d"], Decl(stringNamedPropertyAccess.ts, 1, 18))
interface I {
>I : Symbol(I, Decl(stringNamedPropertyAccess.ts, 6, 19))
@@ -31,7 +31,7 @@ var i: I;
var r2 = i["a b"];
>r2 : Symbol(r2, Decl(stringNamedPropertyAccess.ts, 12, 3))
>i : Symbol(i, Decl(stringNamedPropertyAccess.ts, 11, 3))
>"a b" : Symbol(I."a b", Decl(stringNamedPropertyAccess.ts, 8, 13))
>"a b" : Symbol(I["a b"], Decl(stringNamedPropertyAccess.ts, 8, 13))
var a: {
>a : Symbol(a, Decl(stringNamedPropertyAccess.ts, 14, 3))

View File

@@ -36,7 +36,7 @@ var a = <foundFirst x="hello" />;
var b = <string_named />;
>b : Symbol(b, Decl(tsxElementResolution.tsx, 18, 3))
>string_named : Symbol(JSX.IntrinsicElements.'string_named', Decl(tsxElementResolution.tsx, 3, 28))
>string_named : Symbol(JSX.IntrinsicElements['string_named'], Decl(tsxElementResolution.tsx, 3, 28))
// TODO: This should not be a parse error (should
// parse a property name here, not identifier)