isDeclarationName: support ComputedPropertyName (#22123)

* isDeclarationName: support ComputedPropertyName

* update additional baseline
This commit is contained in:
Andy
2018-02-22 15:53:49 -08:00
committed by GitHub
parent 75fa945f00
commit a299d2dd1c
887 changed files with 2503 additions and 50 deletions
+1 -1
View File
@@ -23094,7 +23094,7 @@ namespace ts {
const rootChain = () => chainDiagnosticMessages(
/*details*/ undefined,
Diagnostics.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2,
unescapeLeadingUnderscores(declaredProp.escapedName),
symbolToString(declaredProp),
typeToString(typeWithThis),
typeToString(baseWithThis)
);
+2 -9
View File
@@ -1860,16 +1860,9 @@ namespace ts {
return false;
}
// True if the given identifier, string literal, or number literal is the name of a declaration node
// True if `name` is the name of a declaration node
export function isDeclarationName(name: Node): boolean {
switch (name.kind) {
case SyntaxKind.Identifier:
case SyntaxKind.StringLiteral:
case SyntaxKind.NumericLiteral:
return isDeclaration(name.parent) && name.parent.name === name;
default:
return false;
}
return !isSourceFile(name) && !isBindingPattern(name) && isDeclaration(name.parent) && name.parent.name === name;
}
// See GH#16030
+1 -1
View File
@@ -1532,7 +1532,7 @@ namespace Harness {
}
if (typesError && symbolsError) {
throw new Error(typesError.message + Harness.IO.newLine() + symbolsError.message);
throw new Error(typesError.stack + Harness.IO.newLine() + symbolsError.stack);
}
if (typesError) {
@@ -16,6 +16,8 @@ class StringIterator {
};
}
[Symbol.iterator]() {
>[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(ES5For-ofTypeCheck10.ts, 7, 5))
return this;
>this : Symbol(StringIterator, Decl(ES5For-ofTypeCheck10.ts, 0, 0))
}
@@ -20,6 +20,7 @@ class StringIterator {
};
}
[Symbol.iterator]() {
>[Symbol.iterator] : () => this
>Symbol.iterator : any
>Symbol : any
>iterator : any
@@ -13,6 +13,7 @@ var obj = {
>obj : Symbol(obj, Decl(ES5SymbolProperty1.ts, 5, 3))
[Symbol.foo]: 0
>[Symbol.foo] : Symbol([Symbol.foo], Decl(ES5SymbolProperty1.ts, 5, 11))
>Symbol.foo : Symbol(SymbolConstructor.foo, Decl(ES5SymbolProperty1.ts, 0, 29))
>Symbol : Symbol(Symbol, Decl(ES5SymbolProperty1.ts, 3, 3))
>foo : Symbol(SymbolConstructor.foo, Decl(ES5SymbolProperty1.ts, 0, 29))
@@ -14,6 +14,7 @@ var obj = {
>{ [Symbol.foo]: 0} : { [Symbol.foo]: number; }
[Symbol.foo]: 0
>[Symbol.foo] : number
>Symbol.foo : string
>Symbol : SymbolConstructor
>foo : string
@@ -9,6 +9,7 @@ module M {
>C : Symbol(C, Decl(ES5SymbolProperty2.ts, 1, 20))
[Symbol.iterator]() { }
>[Symbol.iterator] : Symbol(C[Symbol.iterator], Decl(ES5SymbolProperty2.ts, 3, 20))
>Symbol : Symbol(Symbol, Decl(ES5SymbolProperty2.ts, 1, 7))
}
(new C)[Symbol.iterator];
@@ -9,6 +9,7 @@ module M {
>C : C
[Symbol.iterator]() { }
>[Symbol.iterator] : () => void
>Symbol.iterator : any
>Symbol : any
>iterator : any
@@ -6,6 +6,7 @@ class C {
>C : Symbol(C, Decl(ES5SymbolProperty3.ts, 0, 16))
[Symbol.iterator]() { }
>[Symbol.iterator] : Symbol(C[Symbol.iterator], Decl(ES5SymbolProperty3.ts, 2, 9))
>Symbol : Symbol(Symbol, Decl(ES5SymbolProperty3.ts, 0, 3))
}
@@ -6,6 +6,7 @@ class C {
>C : C
[Symbol.iterator]() { }
>[Symbol.iterator] : () => void
>Symbol.iterator : any
>Symbol : any
>iterator : any
@@ -7,6 +7,7 @@ class C {
>C : Symbol(C, Decl(ES5SymbolProperty4.ts, 0, 33))
[Symbol.iterator]() { }
>[Symbol.iterator] : Symbol(C[Symbol.iterator], Decl(ES5SymbolProperty4.ts, 2, 9))
>Symbol.iterator : Symbol(iterator, Decl(ES5SymbolProperty4.ts, 0, 13))
>Symbol : Symbol(Symbol, Decl(ES5SymbolProperty4.ts, 0, 3))
>iterator : Symbol(iterator, Decl(ES5SymbolProperty4.ts, 0, 13))
@@ -7,6 +7,7 @@ class C {
>C : C
[Symbol.iterator]() { }
>[Symbol.iterator] : () => void
>Symbol.iterator : string
>Symbol : { iterator: string; }
>iterator : string
@@ -7,6 +7,7 @@ class C {
>C : Symbol(C, Decl(ES5SymbolProperty5.ts, 0, 33))
[Symbol.iterator]() { }
>[Symbol.iterator] : Symbol(C[Symbol.iterator], Decl(ES5SymbolProperty5.ts, 2, 9))
>Symbol.iterator : Symbol(iterator, Decl(ES5SymbolProperty5.ts, 0, 13))
>Symbol : Symbol(Symbol, Decl(ES5SymbolProperty5.ts, 0, 3))
>iterator : Symbol(iterator, Decl(ES5SymbolProperty5.ts, 0, 13))
@@ -7,6 +7,7 @@ class C {
>C : C
[Symbol.iterator]() { }
>[Symbol.iterator] : () => void
>Symbol.iterator : symbol
>Symbol : { iterator: symbol; }
>iterator : symbol
@@ -3,6 +3,7 @@ class C {
>C : Symbol(C, Decl(ES5SymbolProperty6.ts, 0, 0))
[Symbol.iterator]() { }
>[Symbol.iterator] : Symbol(C[Symbol.iterator], Decl(ES5SymbolProperty6.ts, 0, 9))
}
(new C)[Symbol.iterator]
@@ -3,6 +3,7 @@ class C {
>C : C
[Symbol.iterator]() { }
>[Symbol.iterator] : () => void
>Symbol.iterator : any
>Symbol : any
>iterator : any
@@ -7,6 +7,7 @@ class C {
>C : Symbol(C, Decl(ES5SymbolProperty7.ts, 0, 30))
[Symbol.iterator]() { }
>[Symbol.iterator] : Symbol(C[Symbol.iterator], Decl(ES5SymbolProperty7.ts, 2, 9))
>Symbol.iterator : Symbol(iterator, Decl(ES5SymbolProperty7.ts, 0, 13))
>Symbol : Symbol(Symbol, Decl(ES5SymbolProperty7.ts, 0, 3))
>iterator : Symbol(iterator, Decl(ES5SymbolProperty7.ts, 0, 13))
@@ -7,6 +7,7 @@ class C {
>C : C
[Symbol.iterator]() { }
>[Symbol.iterator] : () => void
>Symbol.iterator : any
>Symbol : { iterator: any; }
>iterator : any
@@ -1,4 +1,5 @@
=== tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration8_es6.ts ===
var v = { [yield]: foo }
>v : Symbol(v, Decl(FunctionDeclaration8_es6.ts, 0, 3))
>[yield] : Symbol([yield], Decl(FunctionDeclaration8_es6.ts, 0, 9))
@@ -2,6 +2,7 @@
var v = { [yield]: foo }
>v : { [x: number]: any; }
>{ [yield]: foo } : { [x: number]: any; }
>[yield] : any
>yield : any
>foo : any
@@ -4,5 +4,6 @@ function * foo() {
var v = { [yield]: foo }
>v : Symbol(v, Decl(FunctionDeclaration9_es6.ts, 1, 5))
>[yield] : Symbol([yield], Decl(FunctionDeclaration9_es6.ts, 1, 11))
>foo : Symbol(foo, Decl(FunctionDeclaration9_es6.ts, 0, 0))
}
@@ -5,6 +5,7 @@ function * foo() {
var v = { [yield]: foo }
>v : { [x: number]: () => IterableIterator<any>; }
>{ [yield]: foo } : { [x: number]: () => IterableIterator<any>; }
>[yield] : () => IterableIterator<any>
>yield : any
>foo : () => IterableIterator<any>
}
@@ -1,4 +1,5 @@
=== tests/cases/conformance/es6/functionPropertyAssignments/FunctionPropertyAssignments5_es6.ts ===
var v = { *[foo()]() { } }
>v : Symbol(v, Decl(FunctionPropertyAssignments5_es6.ts, 0, 3))
>[foo()] : Symbol([foo()], Decl(FunctionPropertyAssignments5_es6.ts, 0, 9))
@@ -2,6 +2,7 @@
var v = { *[foo()]() { } }
>v : { [x: number]: () => IterableIterator<any>; }
>{ *[foo()]() { } } : { [x: number]: () => IterableIterator<any>; }
>[foo()] : () => IterableIterator<any>
>foo() : any
>foo : any
@@ -3,4 +3,5 @@ class C {
>C : Symbol(C, Decl(MemberFunctionDeclaration3_es6.ts, 0, 0))
*[foo]() { }
>[foo] : Symbol(C[foo], Decl(MemberFunctionDeclaration3_es6.ts, 0, 9))
}
@@ -3,5 +3,6 @@ class C {
>C : C
*[foo]() { }
>[foo] : () => IterableIterator<any>
>foo : any
}
@@ -5,5 +5,6 @@ var foo = async (): Promise<void> => {
var v = { [await]: foo }
>v : Symbol(v, Decl(asyncArrowFunction8_es2017.ts, 1, 5))
>[await] : Symbol([await], Decl(asyncArrowFunction8_es2017.ts, 1, 11))
>foo : Symbol(foo, Decl(asyncArrowFunction8_es2017.ts, 0, 3))
}
@@ -7,6 +7,7 @@ var foo = async (): Promise<void> => {
var v = { [await]: foo }
>v : { [x: number]: () => Promise<void>; }
>{ [await]: foo } : { [x: number]: () => Promise<void>; }
>[await] : () => Promise<void>
>await : any
> : any
>foo : () => Promise<void>
@@ -5,5 +5,6 @@ var foo = async (): Promise<void> => {
var v = { [await]: foo }
>v : Symbol(v, Decl(asyncArrowFunction8_es5.ts, 1, 5))
>[await] : Symbol([await], Decl(asyncArrowFunction8_es5.ts, 1, 11))
>foo : Symbol(foo, Decl(asyncArrowFunction8_es5.ts, 0, 3))
}
@@ -7,6 +7,7 @@ var foo = async (): Promise<void> => {
var v = { [await]: foo }
>v : { [x: number]: () => Promise<void>; }
>{ [await]: foo } : { [x: number]: () => Promise<void>; }
>[await] : () => Promise<void>
>await : any
> : any
>foo : () => Promise<void>
@@ -5,5 +5,6 @@ var foo = async (): Promise<void> => {
var v = { [await]: foo }
>v : Symbol(v, Decl(asyncArrowFunction8_es6.ts, 1, 5))
>[await] : Symbol([await], Decl(asyncArrowFunction8_es6.ts, 1, 11))
>foo : Symbol(foo, Decl(asyncArrowFunction8_es6.ts, 0, 3))
}
@@ -7,6 +7,7 @@ var foo = async (): Promise<void> => {
var v = { [await]: foo }
>v : { [x: number]: () => Promise<void>; }
>{ [await]: foo } : { [x: number]: () => Promise<void>; }
>[await] : () => Promise<void>
>await : any
> : any
>foo : () => Promise<void>
@@ -1,4 +1,5 @@
=== tests/cases/conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration8_es2017.ts ===
var v = { [await]: foo }
>v : Symbol(v, Decl(asyncFunctionDeclaration8_es2017.ts, 0, 3))
>[await] : Symbol([await], Decl(asyncFunctionDeclaration8_es2017.ts, 0, 9))
@@ -2,6 +2,7 @@
var v = { [await]: foo }
>v : { [x: number]: any; }
>{ [await]: foo } : { [x: number]: any; }
>[await] : any
>await : any
>foo : any
@@ -1,4 +1,5 @@
=== tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclaration8_es5.ts ===
var v = { [await]: foo }
>v : Symbol(v, Decl(asyncFunctionDeclaration8_es5.ts, 0, 3))
>[await] : Symbol([await], Decl(asyncFunctionDeclaration8_es5.ts, 0, 9))
@@ -2,6 +2,7 @@
var v = { [await]: foo }
>v : { [x: number]: any; }
>{ [await]: foo } : { [x: number]: any; }
>[await] : any
>await : any
>foo : any
@@ -1,4 +1,5 @@
=== tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration8_es6.ts ===
var v = { [await]: foo }
>v : Symbol(v, Decl(asyncFunctionDeclaration8_es6.ts, 0, 3))
>[await] : Symbol([await], Decl(asyncFunctionDeclaration8_es6.ts, 0, 9))
@@ -2,6 +2,7 @@
var v = { [await]: foo }
>v : { [x: number]: any; }
>{ [await]: foo } : { [x: number]: any; }
>[await] : any
>await : any
>foo : any
@@ -5,5 +5,6 @@ async function foo(): Promise<void> {
var v = { [await]: foo }
>v : Symbol(v, Decl(asyncFunctionDeclaration9_es2017.ts, 1, 5))
>[await] : Symbol([await], Decl(asyncFunctionDeclaration9_es2017.ts, 1, 11))
>foo : Symbol(foo, Decl(asyncFunctionDeclaration9_es2017.ts, 0, 0))
}
@@ -6,6 +6,7 @@ async function foo(): Promise<void> {
var v = { [await]: foo }
>v : { [x: number]: () => Promise<void>; }
>{ [await]: foo } : { [x: number]: () => Promise<void>; }
>[await] : () => Promise<void>
>await : any
> : any
>foo : () => Promise<void>
@@ -5,5 +5,6 @@ async function foo(): Promise<void> {
var v = { [await]: foo }
>v : Symbol(v, Decl(asyncFunctionDeclaration9_es5.ts, 1, 5))
>[await] : Symbol([await], Decl(asyncFunctionDeclaration9_es5.ts, 1, 11))
>foo : Symbol(foo, Decl(asyncFunctionDeclaration9_es5.ts, 0, 0))
}
@@ -6,6 +6,7 @@ async function foo(): Promise<void> {
var v = { [await]: foo }
>v : { [x: number]: () => Promise<void>; }
>{ [await]: foo } : { [x: number]: () => Promise<void>; }
>[await] : () => Promise<void>
>await : any
> : any
>foo : () => Promise<void>
@@ -5,5 +5,6 @@ async function foo(): Promise<void> {
var v = { [await]: foo }
>v : Symbol(v, Decl(asyncFunctionDeclaration9_es6.ts, 1, 5))
>[await] : Symbol([await], Decl(asyncFunctionDeclaration9_es6.ts, 1, 11))
>foo : Symbol(foo, Decl(asyncFunctionDeclaration9_es6.ts, 0, 0))
}
@@ -6,6 +6,7 @@ async function foo(): Promise<void> {
var v = { [await]: foo }
>v : { [x: number]: () => Promise<void>; }
>{ [await]: foo } : { [x: number]: () => Promise<void>; }
>[await] : () => Promise<void>
>await : any
> : any
>foo : () => Promise<void>
@@ -23,6 +23,7 @@ class Main {
>bar : Symbol(Main.bar, Decl(capturedLetConstInLoop13.ts, 13, 5))
[name + ".a"]: () => { this.foo(name); },
>[name + ".a"] : Symbol([name + ".a"], Decl(capturedLetConstInLoop13.ts, 9, 22))
>name : Symbol(name, Decl(capturedLetConstInLoop13.ts, 7, 16))
>this.foo : Symbol(Main.foo, Decl(capturedLetConstInLoop13.ts, 15, 33))
>this : Symbol(Main, Decl(capturedLetConstInLoop13.ts, 0, 0))
@@ -29,6 +29,7 @@ class Main {
>{ [name + ".a"]: () => { this.foo(name); }, } : { [x: string]: () => void; }
[name + ".a"]: () => { this.foo(name); },
>[name + ".a"] : () => void
>name + ".a" : string
>name : string
>".a" : ".a"
@@ -14,6 +14,7 @@ function foo(y = class {static c = x}, x = 1) {
function foo2(y = class {[x] = x}, x = 1) {
>foo2 : Symbol(foo2, Decl(capturedParametersInInitializers2.ts, 2, 1))
>y : Symbol(y, Decl(capturedParametersInInitializers2.ts, 3, 14))
>[x] : Symbol((Anonymous class)[x], Decl(capturedParametersInInitializers2.ts, 3, 25))
>x : Symbol(x, Decl(capturedParametersInInitializers2.ts, 3, 34))
>x : Symbol(x, Decl(capturedParametersInInitializers2.ts, 3, 34))
>x : Symbol(x, Decl(capturedParametersInInitializers2.ts, 3, 34))
@@ -17,6 +17,7 @@ function foo2(y = class {[x] = x}, x = 1) {
>foo2 : (y?: typeof (Anonymous class), x?: number) => void
>y : typeof (Anonymous class)
>class {[x] = x} : typeof (Anonymous class)
>[x] : number
>x : number
>x : number
>x : number
@@ -30,6 +30,8 @@ const obj = {
/** @type {number} */
['b' + 'ar1']: 42,
>['b' + 'ar1'] : Symbol(['b' + 'ar1'], Decl(0.js, 12, 6))
/** @type {function(number): number} */
arrowFunc: (num) => num + 42
>arrowFunc : Symbol(arrowFunc, Decl(0.js, 14, 20))
@@ -35,6 +35,7 @@ const obj = {
/** @type {number} */
['b' + 'ar1']: 42,
>['b' + 'ar1'] : number
>'b' + 'ar1' : string
>'b' : "b"
>'ar1' : "ar1"
@@ -9,8 +9,10 @@ function f (m: string) {
>i : Symbol(i, Decl(commaOperatorInConditionalExpression.ts, 1, 18))
return true? { [m]: i } : { [m]: i + 1 }
>[m] : Symbol([m], Decl(commaOperatorInConditionalExpression.ts, 2, 22))
>m : Symbol(m, Decl(commaOperatorInConditionalExpression.ts, 0, 12))
>i : Symbol(i, Decl(commaOperatorInConditionalExpression.ts, 1, 18))
>[m] : Symbol([m], Decl(commaOperatorInConditionalExpression.ts, 2, 35))
>m : Symbol(m, Decl(commaOperatorInConditionalExpression.ts, 0, 12))
>i : Symbol(i, Decl(commaOperatorInConditionalExpression.ts, 1, 18))
@@ -18,9 +18,11 @@ function f (m: string) {
>true? { [m]: i } : { [m]: i + 1 } : { [x: string]: number; }
>true : true
>{ [m]: i } : { [x: string]: number; }
>[m] : number
>m : string
>i : number
>{ [m]: i + 1 } : { [x: string]: number; }
>[m] : number
>m : string
>i + 1 : number
>i : number
@@ -1908,6 +1908,7 @@ declare module Immutable {
>T : Symbol(T, Decl(immutable.ts, 219, 30))
[Symbol.iterator](): IterableIterator<[keyof T, T[keyof T]]>;
>[Symbol.iterator] : Symbol(Instance[Symbol.iterator], Decl(immutable.ts, 256, 46))
>Symbol.iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --))
>Symbol : Symbol(Symbol, Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --))
>iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --))
@@ -2734,6 +2735,7 @@ declare module Immutable {
>context : Symbol(context, Decl(immutable.ts, 353, 62))
[Symbol.iterator](): IterableIterator<[K, V]>;
>[Symbol.iterator] : Symbol(Keyed[Symbol.iterator], Decl(immutable.ts, 353, 84))
>Symbol.iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --))
>Symbol : Symbol(Symbol, Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --))
>iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --))
@@ -2977,6 +2979,7 @@ declare module Immutable {
>context : Symbol(context, Decl(immutable.ts, 385, 69))
[Symbol.iterator](): IterableIterator<T>;
>[Symbol.iterator] : Symbol(Indexed[Symbol.iterator], Decl(immutable.ts, 385, 91))
>Symbol.iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --))
>Symbol : Symbol(Symbol, Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --))
>iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --))
@@ -3086,6 +3089,7 @@ declare module Immutable {
>context : Symbol(context, Decl(immutable.ts, 399, 66))
[Symbol.iterator](): IterableIterator<T>;
>[Symbol.iterator] : Symbol(Set[Symbol.iterator], Decl(immutable.ts, 399, 88))
>Symbol.iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --))
>Symbol : Symbol(Symbol, Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --))
>iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --))
@@ -1908,6 +1908,7 @@ declare module Immutable {
>T : T
[Symbol.iterator](): IterableIterator<[keyof T, T[keyof T]]>;
>[Symbol.iterator] : () => IterableIterator<[keyof T, T[keyof T]]>
>Symbol.iterator : symbol
>Symbol : SymbolConstructor
>iterator : symbol
@@ -2734,6 +2735,7 @@ declare module Immutable {
>context : any
[Symbol.iterator](): IterableIterator<[K, V]>;
>[Symbol.iterator] : () => IterableIterator<[K, V]>
>Symbol.iterator : symbol
>Symbol : SymbolConstructor
>iterator : symbol
@@ -2977,6 +2979,7 @@ declare module Immutable {
>context : any
[Symbol.iterator](): IterableIterator<T>;
>[Symbol.iterator] : () => IterableIterator<T>
>Symbol.iterator : symbol
>Symbol : SymbolConstructor
>iterator : symbol
@@ -3086,6 +3089,7 @@ declare module Immutable {
>context : any
[Symbol.iterator](): IterableIterator<T>;
>[Symbol.iterator] : () => IterableIterator<T>
>Symbol.iterator : symbol
>Symbol : SymbolConstructor
>iterator : symbol
@@ -69,6 +69,7 @@ module m1 {
>arg1 : Symbol(arg1, Decl(complicatedPrivacy.ts, 32, 23))
{
[number]: C1; // Used to be indexer, now it is a computed property
>[number] : Symbol([number], Decl(complicatedPrivacy.ts, 33, 5))
>C1 : Symbol(C1, Decl(complicatedPrivacy.ts, 50, 5))
}) {
@@ -72,6 +72,7 @@ module m1 {
>arg1 : {}
{
[number]: C1; // Used to be indexer, now it is a computed property
>[number] : C1
>number : any
>C1 : C1
@@ -74,36 +74,43 @@ let [{[foo.toExponential()]: bar7}] = [{bar: "bar"}];
// destructuring assignment
({[foo]: bar} = {bar: "bar"});
>[foo] : Symbol([foo], Decl(computedPropertiesInDestructuring1.ts, 23, 2))
>foo : Symbol(foo, Decl(computedPropertiesInDestructuring1.ts, 1, 3))
>bar : Symbol(bar, Decl(computedPropertiesInDestructuring1.ts, 2, 5))
>bar : Symbol(bar, Decl(computedPropertiesInDestructuring1.ts, 23, 17))
({["bar"]: bar2} = {bar: "bar"});
>["bar"] : Symbol(["bar"], Decl(computedPropertiesInDestructuring1.ts, 25, 2))
>"bar" : Symbol(["bar"], Decl(computedPropertiesInDestructuring1.ts, 25, 2))
>bar2 : Symbol(bar2, Decl(computedPropertiesInDestructuring1.ts, 4, 5))
>bar : Symbol(bar, Decl(computedPropertiesInDestructuring1.ts, 25, 20))
({[foo2()]: bar3} = {bar: "bar"});
>[foo2()] : Symbol([foo2()], Decl(computedPropertiesInDestructuring1.ts, 27, 2))
>foo2 : Symbol(foo2, Decl(computedPropertiesInDestructuring1.ts, 6, 3))
>bar3 : Symbol(bar3, Decl(computedPropertiesInDestructuring1.ts, 7, 5))
>bar : Symbol(bar, Decl(computedPropertiesInDestructuring1.ts, 27, 21))
[{[foo]: bar4}] = [{bar: "bar"}];
>[foo] : Symbol([foo], Decl(computedPropertiesInDestructuring1.ts, 29, 2))
>foo : Symbol(foo, Decl(computedPropertiesInDestructuring1.ts, 1, 3))
>bar4 : Symbol(bar4, Decl(computedPropertiesInDestructuring1.ts, 9, 6))
>bar : Symbol(bar, Decl(computedPropertiesInDestructuring1.ts, 29, 20))
[{[foo2()]: bar5}] = [{bar: "bar"}];
>[foo2()] : Symbol([foo2()], Decl(computedPropertiesInDestructuring1.ts, 30, 2))
>foo2 : Symbol(foo2, Decl(computedPropertiesInDestructuring1.ts, 6, 3))
>bar5 : Symbol(bar5, Decl(computedPropertiesInDestructuring1.ts, 10, 6))
>bar : Symbol(bar, Decl(computedPropertiesInDestructuring1.ts, 30, 23))
[{[foo()]: bar4}] = [{bar: "bar"}];
>[foo()] : Symbol([foo()], Decl(computedPropertiesInDestructuring1.ts, 32, 2))
>foo : Symbol(foo, Decl(computedPropertiesInDestructuring1.ts, 1, 3))
>bar4 : Symbol(bar4, Decl(computedPropertiesInDestructuring1.ts, 9, 6))
>bar : Symbol(bar, Decl(computedPropertiesInDestructuring1.ts, 32, 22))
[{[(1 + {})]: bar4}] = [{bar: "bar"}];
>[(1 + {})] : Symbol([(1 + {})], Decl(computedPropertiesInDestructuring1.ts, 33, 2))
>bar4 : Symbol(bar4, Decl(computedPropertiesInDestructuring1.ts, 9, 6))
>bar : Symbol(bar, Decl(computedPropertiesInDestructuring1.ts, 33, 25))
@@ -106,6 +106,7 @@ let [{[foo.toExponential()]: bar7}] = [{bar: "bar"}];
>({[foo]: bar} = {bar: "bar"}) : { bar: string; }
>{[foo]: bar} = {bar: "bar"} : { bar: string; }
>{[foo]: bar} : { [x: string]: any; }
>[foo] : any
>foo : string
>bar : any
>{bar: "bar"} : { bar: string; }
@@ -116,6 +117,7 @@ let [{[foo.toExponential()]: bar7}] = [{bar: "bar"}];
>({["bar"]: bar2} = {bar: "bar"}) : { bar: string; }
>{["bar"]: bar2} = {bar: "bar"} : { bar: string; }
>{["bar"]: bar2} : { ["bar"]: string; }
>["bar"] : string
>"bar" : "bar"
>bar2 : string
>{bar: "bar"} : { bar: string; }
@@ -126,6 +128,7 @@ let [{[foo.toExponential()]: bar7}] = [{bar: "bar"}];
>({[foo2()]: bar3} = {bar: "bar"}) : { bar: string; }
>{[foo2()]: bar3} = {bar: "bar"} : { bar: string; }
>{[foo2()]: bar3} : { [x: string]: any; }
>[foo2()] : any
>foo2() : string
>foo2 : () => string
>bar3 : any
@@ -137,6 +140,7 @@ let [{[foo.toExponential()]: bar7}] = [{bar: "bar"}];
>[{[foo]: bar4}] = [{bar: "bar"}] : [{ bar: string; }]
>[{[foo]: bar4}] : [{ [x: string]: any; }]
>{[foo]: bar4} : { [x: string]: any; }
>[foo] : any
>foo : string
>bar4 : any
>[{bar: "bar"}] : [{ bar: string; }]
@@ -148,6 +152,7 @@ let [{[foo.toExponential()]: bar7}] = [{bar: "bar"}];
>[{[foo2()]: bar5}] = [{bar: "bar"}] : [{ bar: string; }]
>[{[foo2()]: bar5}] : [{ [x: string]: any; }]
>{[foo2()]: bar5} : { [x: string]: any; }
>[foo2()] : any
>foo2() : string
>foo2 : () => string
>bar5 : any
@@ -160,6 +165,7 @@ let [{[foo.toExponential()]: bar7}] = [{bar: "bar"}];
>[{[foo()]: bar4}] = [{bar: "bar"}] : [{ bar: string; }]
>[{[foo()]: bar4}] : [{ [x: number]: any; }]
>{[foo()]: bar4} : { [x: number]: any; }
>[foo()] : any
>foo() : any
>foo : string
>bar4 : any
@@ -172,6 +178,7 @@ let [{[foo.toExponential()]: bar7}] = [{bar: "bar"}];
>[{[(1 + {})]: bar4}] = [{bar: "bar"}] : [{ bar: string; }]
>[{[(1 + {})]: bar4}] : [{ [x: number]: any; }]
>{[(1 + {})]: bar4} : { [x: number]: any; }
>[(1 + {})] : any
>(1 + {}) : any
>1 + {} : any
>1 : 1
@@ -79,36 +79,43 @@ let [{[foo.toExponential()]: bar7}] = [{bar: "bar"}];
// destructuring assignment
({[foo]: bar} = {bar: "bar"});
>[foo] : Symbol([foo], Decl(computedPropertiesInDestructuring1_ES6.ts, 24, 2))
>foo : Symbol(foo, Decl(computedPropertiesInDestructuring1_ES6.ts, 1, 3))
>bar : Symbol(bar, Decl(computedPropertiesInDestructuring1_ES6.ts, 2, 5))
>bar : Symbol(bar, Decl(computedPropertiesInDestructuring1_ES6.ts, 24, 17))
({["bar"]: bar2} = {bar: "bar"});
>["bar"] : Symbol(["bar"], Decl(computedPropertiesInDestructuring1_ES6.ts, 26, 2))
>"bar" : Symbol(["bar"], Decl(computedPropertiesInDestructuring1_ES6.ts, 26, 2))
>bar2 : Symbol(bar2, Decl(computedPropertiesInDestructuring1_ES6.ts, 4, 5))
>bar : Symbol(bar, Decl(computedPropertiesInDestructuring1_ES6.ts, 26, 20))
({[foo2()]: bar3} = {bar: "bar"});
>[foo2()] : Symbol([foo2()], Decl(computedPropertiesInDestructuring1_ES6.ts, 28, 2))
>foo2 : Symbol(foo2, Decl(computedPropertiesInDestructuring1_ES6.ts, 7, 3))
>bar3 : Symbol(bar3, Decl(computedPropertiesInDestructuring1_ES6.ts, 8, 5))
>bar : Symbol(bar, Decl(computedPropertiesInDestructuring1_ES6.ts, 28, 21))
[{[foo]: bar4}] = [{bar: "bar"}];
>[foo] : Symbol([foo], Decl(computedPropertiesInDestructuring1_ES6.ts, 30, 2))
>foo : Symbol(foo, Decl(computedPropertiesInDestructuring1_ES6.ts, 1, 3))
>bar4 : Symbol(bar4, Decl(computedPropertiesInDestructuring1_ES6.ts, 10, 6))
>bar : Symbol(bar, Decl(computedPropertiesInDestructuring1_ES6.ts, 30, 20))
[{[foo2()]: bar5}] = [{bar: "bar"}];
>[foo2()] : Symbol([foo2()], Decl(computedPropertiesInDestructuring1_ES6.ts, 31, 2))
>foo2 : Symbol(foo2, Decl(computedPropertiesInDestructuring1_ES6.ts, 7, 3))
>bar5 : Symbol(bar5, Decl(computedPropertiesInDestructuring1_ES6.ts, 11, 6))
>bar : Symbol(bar, Decl(computedPropertiesInDestructuring1_ES6.ts, 31, 23))
[{[foo()]: bar4}] = [{bar: "bar"}];
>[foo()] : Symbol([foo()], Decl(computedPropertiesInDestructuring1_ES6.ts, 33, 2))
>foo : Symbol(foo, Decl(computedPropertiesInDestructuring1_ES6.ts, 1, 3))
>bar4 : Symbol(bar4, Decl(computedPropertiesInDestructuring1_ES6.ts, 10, 6))
>bar : Symbol(bar, Decl(computedPropertiesInDestructuring1_ES6.ts, 33, 22))
[{[(1 + {})]: bar4}] = [{bar: "bar"}];
>[(1 + {})] : Symbol([(1 + {})], Decl(computedPropertiesInDestructuring1_ES6.ts, 34, 2))
>bar4 : Symbol(bar4, Decl(computedPropertiesInDestructuring1_ES6.ts, 10, 6))
>bar : Symbol(bar, Decl(computedPropertiesInDestructuring1_ES6.ts, 34, 25))
@@ -113,6 +113,7 @@ let [{[foo.toExponential()]: bar7}] = [{bar: "bar"}];
>({[foo]: bar} = {bar: "bar"}) : { bar: string; }
>{[foo]: bar} = {bar: "bar"} : { bar: string; }
>{[foo]: bar} : { [x: string]: any; }
>[foo] : any
>foo : string
>bar : any
>{bar: "bar"} : { bar: string; }
@@ -123,6 +124,7 @@ let [{[foo.toExponential()]: bar7}] = [{bar: "bar"}];
>({["bar"]: bar2} = {bar: "bar"}) : { bar: string; }
>{["bar"]: bar2} = {bar: "bar"} : { bar: string; }
>{["bar"]: bar2} : { ["bar"]: string; }
>["bar"] : string
>"bar" : "bar"
>bar2 : string
>{bar: "bar"} : { bar: string; }
@@ -133,6 +135,7 @@ let [{[foo.toExponential()]: bar7}] = [{bar: "bar"}];
>({[foo2()]: bar3} = {bar: "bar"}) : { bar: string; }
>{[foo2()]: bar3} = {bar: "bar"} : { bar: string; }
>{[foo2()]: bar3} : { [x: string]: any; }
>[foo2()] : any
>foo2() : string
>foo2 : () => string
>bar3 : any
@@ -144,6 +147,7 @@ let [{[foo.toExponential()]: bar7}] = [{bar: "bar"}];
>[{[foo]: bar4}] = [{bar: "bar"}] : [{ bar: string; }]
>[{[foo]: bar4}] : [{ [x: string]: any; }]
>{[foo]: bar4} : { [x: string]: any; }
>[foo] : any
>foo : string
>bar4 : any
>[{bar: "bar"}] : [{ bar: string; }]
@@ -155,6 +159,7 @@ let [{[foo.toExponential()]: bar7}] = [{bar: "bar"}];
>[{[foo2()]: bar5}] = [{bar: "bar"}] : [{ bar: string; }]
>[{[foo2()]: bar5}] : [{ [x: string]: any; }]
>{[foo2()]: bar5} : { [x: string]: any; }
>[foo2()] : any
>foo2() : string
>foo2 : () => string
>bar5 : any
@@ -167,6 +172,7 @@ let [{[foo.toExponential()]: bar7}] = [{bar: "bar"}];
>[{[foo()]: bar4}] = [{bar: "bar"}] : [{ bar: string; }]
>[{[foo()]: bar4}] : [{ [x: number]: any; }]
>{[foo()]: bar4} : { [x: number]: any; }
>[foo()] : any
>foo() : any
>foo : string
>bar4 : any
@@ -179,6 +185,7 @@ let [{[foo.toExponential()]: bar7}] = [{bar: "bar"}];
>[{[(1 + {})]: bar4}] = [{bar: "bar"}] : [{ bar: string; }]
>[{[(1 + {})]: bar4}] : [{ [x: number]: any; }]
>{[(1 + {})]: bar4} : { [x: number]: any; }
>[(1 + {})] : any
>(1 + {}) : any
>1 + {} : any
>1 : 1
@@ -12,33 +12,46 @@ var v = {
>v : Symbol(v, Decl(computedPropertyNames10_ES5.ts, 3, 3))
[s]() { },
>[s] : Symbol([s], Decl(computedPropertyNames10_ES5.ts, 3, 9))
>s : Symbol(s, Decl(computedPropertyNames10_ES5.ts, 0, 3))
[n]() { },
>[n] : Symbol([n], Decl(computedPropertyNames10_ES5.ts, 4, 14))
>n : Symbol(n, Decl(computedPropertyNames10_ES5.ts, 1, 3))
[s + s]() { },
>[s + s] : Symbol([s + s], Decl(computedPropertyNames10_ES5.ts, 5, 14))
>s : Symbol(s, Decl(computedPropertyNames10_ES5.ts, 0, 3))
>s : Symbol(s, Decl(computedPropertyNames10_ES5.ts, 0, 3))
[s + n]() { },
>[s + n] : Symbol([s + n], Decl(computedPropertyNames10_ES5.ts, 6, 18))
>s : Symbol(s, Decl(computedPropertyNames10_ES5.ts, 0, 3))
>n : Symbol(n, Decl(computedPropertyNames10_ES5.ts, 1, 3))
[+s]() { },
>[+s] : Symbol([+s], Decl(computedPropertyNames10_ES5.ts, 7, 18))
>s : Symbol(s, Decl(computedPropertyNames10_ES5.ts, 0, 3))
[""]() { },
>[""] : Symbol([""], Decl(computedPropertyNames10_ES5.ts, 8, 15))
>"" : Symbol([""], Decl(computedPropertyNames10_ES5.ts, 8, 15))
[0]() { },
>[0] : Symbol([0], Decl(computedPropertyNames10_ES5.ts, 9, 15))
>0 : Symbol([0], Decl(computedPropertyNames10_ES5.ts, 9, 15))
[a]() { },
>[a] : Symbol([a], Decl(computedPropertyNames10_ES5.ts, 10, 14))
>a : Symbol(a, Decl(computedPropertyNames10_ES5.ts, 2, 3))
[<any>true]() { },
>[<any>true] : Symbol([<any>true], Decl(computedPropertyNames10_ES5.ts, 11, 14))
[`hello bye`]() { },
>[`hello bye`] : Symbol([`hello bye`], Decl(computedPropertyNames10_ES5.ts, 12, 22))
[`hello ${a} bye`]() { }
>[`hello ${a} bye`] : Symbol([`hello ${a} bye`], Decl(computedPropertyNames10_ES5.ts, 13, 24))
>a : Symbol(a, Decl(computedPropertyNames10_ES5.ts, 2, 3))
}
@@ -13,42 +13,53 @@ var v = {
>{ [s]() { }, [n]() { }, [s + s]() { }, [s + n]() { }, [+s]() { }, [""]() { }, [0]() { }, [a]() { }, [<any>true]() { }, [`hello bye`]() { }, [`hello ${a} bye`]() { }} : { [x: string]: () => void; [x: number]: () => void; [""](): void; [0](): void; }
[s]() { },
>[s] : () => void
>s : string
[n]() { },
>[n] : () => void
>n : number
[s + s]() { },
>[s + s] : () => void
>s + s : string
>s : string
>s : string
[s + n]() { },
>[s + n] : () => void
>s + n : string
>s : string
>n : number
[+s]() { },
>[+s] : () => void
>+s : number
>s : string
[""]() { },
>[""] : () => void
>"" : ""
[0]() { },
>[0] : () => void
>0 : 0
[a]() { },
>[a] : () => void
>a : any
[<any>true]() { },
>[<any>true] : () => void
><any>true : any
>true : true
[`hello bye`]() { },
>[`hello bye`] : () => void
>`hello bye` : "hello bye"
[`hello ${a} bye`]() { }
>[`hello ${a} bye`] : () => void
>`hello ${a} bye` : string
>a : any
}
@@ -12,33 +12,46 @@ var v = {
>v : Symbol(v, Decl(computedPropertyNames10_ES6.ts, 3, 3))
[s]() { },
>[s] : Symbol([s], Decl(computedPropertyNames10_ES6.ts, 3, 9))
>s : Symbol(s, Decl(computedPropertyNames10_ES6.ts, 0, 3))
[n]() { },
>[n] : Symbol([n], Decl(computedPropertyNames10_ES6.ts, 4, 14))
>n : Symbol(n, Decl(computedPropertyNames10_ES6.ts, 1, 3))
[s + s]() { },
>[s + s] : Symbol([s + s], Decl(computedPropertyNames10_ES6.ts, 5, 14))
>s : Symbol(s, Decl(computedPropertyNames10_ES6.ts, 0, 3))
>s : Symbol(s, Decl(computedPropertyNames10_ES6.ts, 0, 3))
[s + n]() { },
>[s + n] : Symbol([s + n], Decl(computedPropertyNames10_ES6.ts, 6, 18))
>s : Symbol(s, Decl(computedPropertyNames10_ES6.ts, 0, 3))
>n : Symbol(n, Decl(computedPropertyNames10_ES6.ts, 1, 3))
[+s]() { },
>[+s] : Symbol([+s], Decl(computedPropertyNames10_ES6.ts, 7, 18))
>s : Symbol(s, Decl(computedPropertyNames10_ES6.ts, 0, 3))
[""]() { },
>[""] : Symbol([""], Decl(computedPropertyNames10_ES6.ts, 8, 15))
>"" : Symbol([""], Decl(computedPropertyNames10_ES6.ts, 8, 15))
[0]() { },
>[0] : Symbol([0], Decl(computedPropertyNames10_ES6.ts, 9, 15))
>0 : Symbol([0], Decl(computedPropertyNames10_ES6.ts, 9, 15))
[a]() { },
>[a] : Symbol([a], Decl(computedPropertyNames10_ES6.ts, 10, 14))
>a : Symbol(a, Decl(computedPropertyNames10_ES6.ts, 2, 3))
[<any>true]() { },
>[<any>true] : Symbol([<any>true], Decl(computedPropertyNames10_ES6.ts, 11, 14))
[`hello bye`]() { },
>[`hello bye`] : Symbol([`hello bye`], Decl(computedPropertyNames10_ES6.ts, 12, 22))
[`hello ${a} bye`]() { }
>[`hello ${a} bye`] : Symbol([`hello ${a} bye`], Decl(computedPropertyNames10_ES6.ts, 13, 24))
>a : Symbol(a, Decl(computedPropertyNames10_ES6.ts, 2, 3))
}
@@ -13,42 +13,53 @@ var v = {
>{ [s]() { }, [n]() { }, [s + s]() { }, [s + n]() { }, [+s]() { }, [""]() { }, [0]() { }, [a]() { }, [<any>true]() { }, [`hello bye`]() { }, [`hello ${a} bye`]() { }} : { [x: string]: () => void; [x: number]: () => void; [""](): void; [0](): void; }
[s]() { },
>[s] : () => void
>s : string
[n]() { },
>[n] : () => void
>n : number
[s + s]() { },
>[s + s] : () => void
>s + s : string
>s : string
>s : string
[s + n]() { },
>[s + n] : () => void
>s + n : string
>s : string
>n : number
[+s]() { },
>[+s] : () => void
>+s : number
>s : string
[""]() { },
>[""] : () => void
>"" : ""
[0]() { },
>[0] : () => void
>0 : 0
[a]() { },
>[a] : () => void
>a : any
[<any>true]() { },
>[<any>true] : () => void
><any>true : any
>true : true
[`hello bye`]() { },
>[`hello bye`] : () => void
>`hello bye` : "hello bye"
[`hello ${a} bye`]() { }
>[`hello ${a} bye`] : () => void
>`hello ${a} bye` : string
>a : any
}
@@ -12,39 +12,51 @@ var v = {
>v : Symbol(v, Decl(computedPropertyNames11_ES5.ts, 3, 3))
get [s]() { return 0; },
>[s] : Symbol([s], Decl(computedPropertyNames11_ES5.ts, 3, 9))
>s : Symbol(s, Decl(computedPropertyNames11_ES5.ts, 0, 3))
set [n](v) { },
>[n] : Symbol([n], Decl(computedPropertyNames11_ES5.ts, 4, 28))
>n : Symbol(n, Decl(computedPropertyNames11_ES5.ts, 1, 3))
>v : Symbol(v, Decl(computedPropertyNames11_ES5.ts, 5, 12))
get [s + s]() { return 0; },
>[s + s] : Symbol([s + s], Decl(computedPropertyNames11_ES5.ts, 5, 19))
>s : Symbol(s, Decl(computedPropertyNames11_ES5.ts, 0, 3))
>s : Symbol(s, Decl(computedPropertyNames11_ES5.ts, 0, 3))
set [s + n](v) { },
>[s + n] : Symbol([s + n], Decl(computedPropertyNames11_ES5.ts, 6, 32))
>s : Symbol(s, Decl(computedPropertyNames11_ES5.ts, 0, 3))
>n : Symbol(n, Decl(computedPropertyNames11_ES5.ts, 1, 3))
>v : Symbol(v, Decl(computedPropertyNames11_ES5.ts, 7, 16))
get [+s]() { return 0; },
>[+s] : Symbol([+s], Decl(computedPropertyNames11_ES5.ts, 7, 23))
>s : Symbol(s, Decl(computedPropertyNames11_ES5.ts, 0, 3))
set [""](v) { },
>[""] : Symbol([""], Decl(computedPropertyNames11_ES5.ts, 8, 29))
>"" : Symbol([""], Decl(computedPropertyNames11_ES5.ts, 8, 29))
>v : Symbol(v, Decl(computedPropertyNames11_ES5.ts, 9, 13))
get [0]() { return 0; },
>[0] : Symbol([0], Decl(computedPropertyNames11_ES5.ts, 9, 20))
>0 : Symbol([0], Decl(computedPropertyNames11_ES5.ts, 9, 20))
set [a](v) { },
>[a] : Symbol([a], Decl(computedPropertyNames11_ES5.ts, 10, 28))
>a : Symbol(a, Decl(computedPropertyNames11_ES5.ts, 2, 3))
>v : Symbol(v, Decl(computedPropertyNames11_ES5.ts, 11, 12))
get [<any>true]() { return 0; },
>[<any>true] : Symbol([<any>true], Decl(computedPropertyNames11_ES5.ts, 11, 19))
set [`hello bye`](v) { },
>[`hello bye`] : Symbol([`hello bye`], Decl(computedPropertyNames11_ES5.ts, 12, 36))
>v : Symbol(v, Decl(computedPropertyNames11_ES5.ts, 13, 22))
get [`hello ${a} bye`]() { return 0; }
>[`hello ${a} bye`] : Symbol([`hello ${a} bye`], Decl(computedPropertyNames11_ES5.ts, 13, 29))
>a : Symbol(a, Decl(computedPropertyNames11_ES5.ts, 2, 3))
}
@@ -13,52 +13,63 @@ var v = {
>{ get [s]() { return 0; }, set [n](v) { }, get [s + s]() { return 0; }, set [s + n](v) { }, get [+s]() { return 0; }, set [""](v) { }, get [0]() { return 0; }, set [a](v) { }, get [<any>true]() { return 0; }, set [`hello bye`](v) { }, get [`hello ${a} bye`]() { return 0; }} : { [x: string]: any; [x: number]: any; [""]: any; readonly [0]: number; }
get [s]() { return 0; },
>[s] : number
>s : string
>0 : 0
set [n](v) { },
>[n] : any
>n : number
>v : any
get [s + s]() { return 0; },
>[s + s] : number
>s + s : string
>s : string
>s : string
>0 : 0
set [s + n](v) { },
>[s + n] : any
>s + n : string
>s : string
>n : number
>v : any
get [+s]() { return 0; },
>[+s] : number
>+s : number
>s : string
>0 : 0
set [""](v) { },
>[""] : any
>"" : ""
>v : any
get [0]() { return 0; },
>[0] : number
>0 : 0
>0 : 0
set [a](v) { },
>[a] : any
>a : any
>v : any
get [<any>true]() { return 0; },
>[<any>true] : number
><any>true : any
>true : true
>0 : 0
set [`hello bye`](v) { },
>[`hello bye`] : any
>`hello bye` : "hello bye"
>v : any
get [`hello ${a} bye`]() { return 0; }
>[`hello ${a} bye`] : number
>`hello ${a} bye` : string
>a : any
>0 : 0
@@ -12,39 +12,51 @@ var v = {
>v : Symbol(v, Decl(computedPropertyNames11_ES6.ts, 3, 3))
get [s]() { return 0; },
>[s] : Symbol([s], Decl(computedPropertyNames11_ES6.ts, 3, 9))
>s : Symbol(s, Decl(computedPropertyNames11_ES6.ts, 0, 3))
set [n](v) { },
>[n] : Symbol([n], Decl(computedPropertyNames11_ES6.ts, 4, 28))
>n : Symbol(n, Decl(computedPropertyNames11_ES6.ts, 1, 3))
>v : Symbol(v, Decl(computedPropertyNames11_ES6.ts, 5, 12))
get [s + s]() { return 0; },
>[s + s] : Symbol([s + s], Decl(computedPropertyNames11_ES6.ts, 5, 19))
>s : Symbol(s, Decl(computedPropertyNames11_ES6.ts, 0, 3))
>s : Symbol(s, Decl(computedPropertyNames11_ES6.ts, 0, 3))
set [s + n](v) { },
>[s + n] : Symbol([s + n], Decl(computedPropertyNames11_ES6.ts, 6, 32))
>s : Symbol(s, Decl(computedPropertyNames11_ES6.ts, 0, 3))
>n : Symbol(n, Decl(computedPropertyNames11_ES6.ts, 1, 3))
>v : Symbol(v, Decl(computedPropertyNames11_ES6.ts, 7, 16))
get [+s]() { return 0; },
>[+s] : Symbol([+s], Decl(computedPropertyNames11_ES6.ts, 7, 23))
>s : Symbol(s, Decl(computedPropertyNames11_ES6.ts, 0, 3))
set [""](v) { },
>[""] : Symbol([""], Decl(computedPropertyNames11_ES6.ts, 8, 29))
>"" : Symbol([""], Decl(computedPropertyNames11_ES6.ts, 8, 29))
>v : Symbol(v, Decl(computedPropertyNames11_ES6.ts, 9, 13))
get [0]() { return 0; },
>[0] : Symbol([0], Decl(computedPropertyNames11_ES6.ts, 9, 20))
>0 : Symbol([0], Decl(computedPropertyNames11_ES6.ts, 9, 20))
set [a](v) { },
>[a] : Symbol([a], Decl(computedPropertyNames11_ES6.ts, 10, 28))
>a : Symbol(a, Decl(computedPropertyNames11_ES6.ts, 2, 3))
>v : Symbol(v, Decl(computedPropertyNames11_ES6.ts, 11, 12))
get [<any>true]() { return 0; },
>[<any>true] : Symbol([<any>true], Decl(computedPropertyNames11_ES6.ts, 11, 19))
set [`hello bye`](v) { },
>[`hello bye`] : Symbol([`hello bye`], Decl(computedPropertyNames11_ES6.ts, 12, 36))
>v : Symbol(v, Decl(computedPropertyNames11_ES6.ts, 13, 22))
get [`hello ${a} bye`]() { return 0; }
>[`hello ${a} bye`] : Symbol([`hello ${a} bye`], Decl(computedPropertyNames11_ES6.ts, 13, 29))
>a : Symbol(a, Decl(computedPropertyNames11_ES6.ts, 2, 3))
}
@@ -13,52 +13,63 @@ var v = {
>{ get [s]() { return 0; }, set [n](v) { }, get [s + s]() { return 0; }, set [s + n](v) { }, get [+s]() { return 0; }, set [""](v) { }, get [0]() { return 0; }, set [a](v) { }, get [<any>true]() { return 0; }, set [`hello bye`](v) { }, get [`hello ${a} bye`]() { return 0; }} : { [x: string]: any; [x: number]: any; [""]: any; readonly [0]: number; }
get [s]() { return 0; },
>[s] : number
>s : string
>0 : 0
set [n](v) { },
>[n] : any
>n : number
>v : any
get [s + s]() { return 0; },
>[s + s] : number
>s + s : string
>s : string
>s : string
>0 : 0
set [s + n](v) { },
>[s + n] : any
>s + n : string
>s : string
>n : number
>v : any
get [+s]() { return 0; },
>[+s] : number
>+s : number
>s : string
>0 : 0
set [""](v) { },
>[""] : any
>"" : ""
>v : any
get [0]() { return 0; },
>[0] : number
>0 : 0
>0 : 0
set [a](v) { },
>[a] : any
>a : any
>v : any
get [<any>true]() { return 0; },
>[<any>true] : number
><any>true : any
>true : true
>0 : 0
set [`hello bye`](v) { },
>[`hello bye`] : any
>`hello bye` : "hello bye"
>v : any
get [`hello ${a} bye`]() { return 0; }
>[`hello ${a} bye`] : number
>`hello ${a} bye` : string
>a : any
>0 : 0
@@ -12,35 +12,48 @@ class C {
>C : Symbol(C, Decl(computedPropertyNames12_ES5.ts, 2, 11))
[s]: number;
>[s] : Symbol(C[s], Decl(computedPropertyNames12_ES5.ts, 3, 9))
>s : Symbol(s, Decl(computedPropertyNames12_ES5.ts, 0, 3))
[n] = n;
>[n] : Symbol(C[n], Decl(computedPropertyNames12_ES5.ts, 4, 16))
>n : Symbol(n, Decl(computedPropertyNames12_ES5.ts, 1, 3))
>n : Symbol(n, Decl(computedPropertyNames12_ES5.ts, 1, 3))
static [s + s]: string;
>[s + s] : Symbol(C[s + s], Decl(computedPropertyNames12_ES5.ts, 5, 12))
>s : Symbol(s, Decl(computedPropertyNames12_ES5.ts, 0, 3))
>s : Symbol(s, Decl(computedPropertyNames12_ES5.ts, 0, 3))
[s + n] = 2;
>[s + n] : Symbol(C[s + n], Decl(computedPropertyNames12_ES5.ts, 6, 27))
>s : Symbol(s, Decl(computedPropertyNames12_ES5.ts, 0, 3))
>n : Symbol(n, Decl(computedPropertyNames12_ES5.ts, 1, 3))
[+s]: typeof s;
>[+s] : Symbol(C[+s], Decl(computedPropertyNames12_ES5.ts, 7, 16))
>s : Symbol(s, Decl(computedPropertyNames12_ES5.ts, 0, 3))
>s : Symbol(s, Decl(computedPropertyNames12_ES5.ts, 0, 3))
static [""]: number;
>[""] : Symbol(C[""], Decl(computedPropertyNames12_ES5.ts, 8, 19))
>"" : Symbol(C[""], Decl(computedPropertyNames12_ES5.ts, 8, 19))
[0]: number;
>[0] : Symbol(C[0], Decl(computedPropertyNames12_ES5.ts, 9, 24))
>0 : Symbol(C[0], Decl(computedPropertyNames12_ES5.ts, 9, 24))
[a]: number;
>[a] : Symbol(C[a], Decl(computedPropertyNames12_ES5.ts, 10, 16))
>a : Symbol(a, Decl(computedPropertyNames12_ES5.ts, 2, 3))
static [<any>true]: number;
>[<any>true] : Symbol(C[<any>true], Decl(computedPropertyNames12_ES5.ts, 11, 16))
[`hello bye`] = 0;
>[`hello bye`] : Symbol(C[`hello bye`], Decl(computedPropertyNames12_ES5.ts, 12, 31))
static [`hello ${a} bye`] = 0
>[`hello ${a} bye`] : Symbol(C[`hello ${a} bye`], Decl(computedPropertyNames12_ES5.ts, 13, 22))
>a : Symbol(a, Decl(computedPropertyNames12_ES5.ts, 2, 3))
}
@@ -12,46 +12,57 @@ class C {
>C : C
[s]: number;
>[s] : number
>s : string
[n] = n;
>[n] : number
>n : number
>n : number
static [s + s]: string;
>[s + s] : string
>s + s : string
>s : string
>s : string
[s + n] = 2;
>[s + n] : number
>s + n : string
>s : string
>n : number
>2 : 2
[+s]: typeof s;
>[+s] : string
>+s : number
>s : string
>s : string
static [""]: number;
>[""] : number
>"" : ""
[0]: number;
>[0] : number
>0 : 0
[a]: number;
>[a] : number
>a : any
static [<any>true]: number;
>[<any>true] : number
><any>true : any
>true : true
[`hello bye`] = 0;
>[`hello bye`] : number
>`hello bye` : "hello bye"
>0 : 0
static [`hello ${a} bye`] = 0
>[`hello ${a} bye`] : number
>`hello ${a} bye` : string
>a : any
>0 : 0
@@ -12,35 +12,48 @@ class C {
>C : Symbol(C, Decl(computedPropertyNames12_ES6.ts, 2, 11))
[s]: number;
>[s] : Symbol(C[s], Decl(computedPropertyNames12_ES6.ts, 3, 9))
>s : Symbol(s, Decl(computedPropertyNames12_ES6.ts, 0, 3))
[n] = n;
>[n] : Symbol(C[n], Decl(computedPropertyNames12_ES6.ts, 4, 16))
>n : Symbol(n, Decl(computedPropertyNames12_ES6.ts, 1, 3))
>n : Symbol(n, Decl(computedPropertyNames12_ES6.ts, 1, 3))
static [s + s]: string;
>[s + s] : Symbol(C[s + s], Decl(computedPropertyNames12_ES6.ts, 5, 12))
>s : Symbol(s, Decl(computedPropertyNames12_ES6.ts, 0, 3))
>s : Symbol(s, Decl(computedPropertyNames12_ES6.ts, 0, 3))
[s + n] = 2;
>[s + n] : Symbol(C[s + n], Decl(computedPropertyNames12_ES6.ts, 6, 27))
>s : Symbol(s, Decl(computedPropertyNames12_ES6.ts, 0, 3))
>n : Symbol(n, Decl(computedPropertyNames12_ES6.ts, 1, 3))
[+s]: typeof s;
>[+s] : Symbol(C[+s], Decl(computedPropertyNames12_ES6.ts, 7, 16))
>s : Symbol(s, Decl(computedPropertyNames12_ES6.ts, 0, 3))
>s : Symbol(s, Decl(computedPropertyNames12_ES6.ts, 0, 3))
static [""]: number;
>[""] : Symbol(C[""], Decl(computedPropertyNames12_ES6.ts, 8, 19))
>"" : Symbol(C[""], Decl(computedPropertyNames12_ES6.ts, 8, 19))
[0]: number;
>[0] : Symbol(C[0], Decl(computedPropertyNames12_ES6.ts, 9, 24))
>0 : Symbol(C[0], Decl(computedPropertyNames12_ES6.ts, 9, 24))
[a]: number;
>[a] : Symbol(C[a], Decl(computedPropertyNames12_ES6.ts, 10, 16))
>a : Symbol(a, Decl(computedPropertyNames12_ES6.ts, 2, 3))
static [<any>true]: number;
>[<any>true] : Symbol(C[<any>true], Decl(computedPropertyNames12_ES6.ts, 11, 16))
[`hello bye`] = 0;
>[`hello bye`] : Symbol(C[`hello bye`], Decl(computedPropertyNames12_ES6.ts, 12, 31))
static [`hello ${a} bye`] = 0
>[`hello ${a} bye`] : Symbol(C[`hello ${a} bye`], Decl(computedPropertyNames12_ES6.ts, 13, 22))
>a : Symbol(a, Decl(computedPropertyNames12_ES6.ts, 2, 3))
}
@@ -12,46 +12,57 @@ class C {
>C : C
[s]: number;
>[s] : number
>s : string
[n] = n;
>[n] : number
>n : number
>n : number
static [s + s]: string;
>[s + s] : string
>s + s : string
>s : string
>s : string
[s + n] = 2;
>[s + n] : number
>s + n : string
>s : string
>n : number
>2 : 2
[+s]: typeof s;
>[+s] : string
>+s : number
>s : string
>s : string
static [""]: number;
>[""] : number
>"" : ""
[0]: number;
>[0] : number
>0 : 0
[a]: number;
>[a] : number
>a : any
static [<any>true]: number;
>[<any>true] : number
><any>true : any
>true : true
[`hello bye`] = 0;
>[`hello bye`] : number
>`hello bye` : "hello bye"
>0 : 0
static [`hello ${a} bye`] = 0
>[`hello ${a} bye`] : number
>`hello ${a} bye` : string
>a : any
>0 : 0
@@ -12,33 +12,46 @@ class C {
>C : Symbol(C, Decl(computedPropertyNames13_ES5.ts, 2, 11))
[s]() {}
>[s] : Symbol(C[s], Decl(computedPropertyNames13_ES5.ts, 3, 9))
>s : Symbol(s, Decl(computedPropertyNames13_ES5.ts, 0, 3))
[n]() { }
>[n] : Symbol(C[n], Decl(computedPropertyNames13_ES5.ts, 4, 12))
>n : Symbol(n, Decl(computedPropertyNames13_ES5.ts, 1, 3))
static [s + s]() { }
>[s + s] : Symbol(C[s + s], Decl(computedPropertyNames13_ES5.ts, 5, 13))
>s : Symbol(s, Decl(computedPropertyNames13_ES5.ts, 0, 3))
>s : Symbol(s, Decl(computedPropertyNames13_ES5.ts, 0, 3))
[s + n]() { }
>[s + n] : Symbol(C[s + n], Decl(computedPropertyNames13_ES5.ts, 6, 24))
>s : Symbol(s, Decl(computedPropertyNames13_ES5.ts, 0, 3))
>n : Symbol(n, Decl(computedPropertyNames13_ES5.ts, 1, 3))
[+s]() { }
>[+s] : Symbol(C[+s], Decl(computedPropertyNames13_ES5.ts, 7, 17))
>s : Symbol(s, Decl(computedPropertyNames13_ES5.ts, 0, 3))
static [""]() { }
>[""] : Symbol(C[""], Decl(computedPropertyNames13_ES5.ts, 8, 14))
>"" : Symbol(C[""], Decl(computedPropertyNames13_ES5.ts, 8, 14))
[0]() { }
>[0] : Symbol(C[0], Decl(computedPropertyNames13_ES5.ts, 9, 21))
>0 : Symbol(C[0], Decl(computedPropertyNames13_ES5.ts, 9, 21))
[a]() { }
>[a] : Symbol(C[a], Decl(computedPropertyNames13_ES5.ts, 10, 13))
>a : Symbol(a, Decl(computedPropertyNames13_ES5.ts, 2, 3))
static [<any>true]() { }
>[<any>true] : Symbol(C[<any>true], Decl(computedPropertyNames13_ES5.ts, 11, 13))
[`hello bye`]() { }
>[`hello bye`] : Symbol(C[`hello bye`], Decl(computedPropertyNames13_ES5.ts, 12, 28))
static [`hello ${a} bye`]() { }
>[`hello ${a} bye`] : Symbol(C[`hello ${a} bye`], Decl(computedPropertyNames13_ES5.ts, 13, 23))
>a : Symbol(a, Decl(computedPropertyNames13_ES5.ts, 2, 3))
}
@@ -12,42 +12,53 @@ class C {
>C : C
[s]() {}
>[s] : () => void
>s : string
[n]() { }
>[n] : () => void
>n : number
static [s + s]() { }
>[s + s] : () => void
>s + s : string
>s : string
>s : string
[s + n]() { }
>[s + n] : () => void
>s + n : string
>s : string
>n : number
[+s]() { }
>[+s] : () => void
>+s : number
>s : string
static [""]() { }
>[""] : () => void
>"" : ""
[0]() { }
>[0] : () => void
>0 : 0
[a]() { }
>[a] : () => void
>a : any
static [<any>true]() { }
>[<any>true] : () => void
><any>true : any
>true : true
[`hello bye`]() { }
>[`hello bye`] : () => void
>`hello bye` : "hello bye"
static [`hello ${a} bye`]() { }
>[`hello ${a} bye`] : () => void
>`hello ${a} bye` : string
>a : any
}
@@ -12,33 +12,46 @@ class C {
>C : Symbol(C, Decl(computedPropertyNames13_ES6.ts, 2, 11))
[s]() {}
>[s] : Symbol(C[s], Decl(computedPropertyNames13_ES6.ts, 3, 9))
>s : Symbol(s, Decl(computedPropertyNames13_ES6.ts, 0, 3))
[n]() { }
>[n] : Symbol(C[n], Decl(computedPropertyNames13_ES6.ts, 4, 12))
>n : Symbol(n, Decl(computedPropertyNames13_ES6.ts, 1, 3))
static [s + s]() { }
>[s + s] : Symbol(C[s + s], Decl(computedPropertyNames13_ES6.ts, 5, 13))
>s : Symbol(s, Decl(computedPropertyNames13_ES6.ts, 0, 3))
>s : Symbol(s, Decl(computedPropertyNames13_ES6.ts, 0, 3))
[s + n]() { }
>[s + n] : Symbol(C[s + n], Decl(computedPropertyNames13_ES6.ts, 6, 24))
>s : Symbol(s, Decl(computedPropertyNames13_ES6.ts, 0, 3))
>n : Symbol(n, Decl(computedPropertyNames13_ES6.ts, 1, 3))
[+s]() { }
>[+s] : Symbol(C[+s], Decl(computedPropertyNames13_ES6.ts, 7, 17))
>s : Symbol(s, Decl(computedPropertyNames13_ES6.ts, 0, 3))
static [""]() { }
>[""] : Symbol(C[""], Decl(computedPropertyNames13_ES6.ts, 8, 14))
>"" : Symbol(C[""], Decl(computedPropertyNames13_ES6.ts, 8, 14))
[0]() { }
>[0] : Symbol(C[0], Decl(computedPropertyNames13_ES6.ts, 9, 21))
>0 : Symbol(C[0], Decl(computedPropertyNames13_ES6.ts, 9, 21))
[a]() { }
>[a] : Symbol(C[a], Decl(computedPropertyNames13_ES6.ts, 10, 13))
>a : Symbol(a, Decl(computedPropertyNames13_ES6.ts, 2, 3))
static [<any>true]() { }
>[<any>true] : Symbol(C[<any>true], Decl(computedPropertyNames13_ES6.ts, 11, 13))
[`hello bye`]() { }
>[`hello bye`] : Symbol(C[`hello bye`], Decl(computedPropertyNames13_ES6.ts, 12, 28))
static [`hello ${a} bye`]() { }
>[`hello ${a} bye`] : Symbol(C[`hello ${a} bye`], Decl(computedPropertyNames13_ES6.ts, 13, 23))
>a : Symbol(a, Decl(computedPropertyNames13_ES6.ts, 2, 3))
}
@@ -12,42 +12,53 @@ class C {
>C : C
[s]() {}
>[s] : () => void
>s : string
[n]() { }
>[n] : () => void
>n : number
static [s + s]() { }
>[s + s] : () => void
>s + s : string
>s : string
>s : string
[s + n]() { }
>[s + n] : () => void
>s + n : string
>s : string
>n : number
[+s]() { }
>[+s] : () => void
>+s : number
>s : string
static [""]() { }
>[""] : () => void
>"" : ""
[0]() { }
>[0] : () => void
>0 : 0
[a]() { }
>[a] : () => void
>a : any
static [<any>true]() { }
>[<any>true] : () => void
><any>true : any
>true : true
[`hello bye`]() { }
>[`hello bye`] : () => void
>`hello bye` : "hello bye"
static [`hello ${a} bye`]() { }
>[`hello ${a} bye`] : () => void
>`hello ${a} bye` : string
>a : any
}
@@ -6,13 +6,22 @@ class C {
>C : Symbol(C, Decl(computedPropertyNames14_ES5.ts, 0, 15))
[b]() {}
>[b] : Symbol(C[b], Decl(computedPropertyNames14_ES5.ts, 1, 9))
>b : Symbol(b, Decl(computedPropertyNames14_ES5.ts, 0, 3))
static [true]() { }
>[true] : Symbol(C[true], Decl(computedPropertyNames14_ES5.ts, 2, 12))
[[]]() { }
>[[]] : Symbol(C[[]], Decl(computedPropertyNames14_ES5.ts, 3, 23))
static [{}]() { }
>[{}] : Symbol(C[{}], Decl(computedPropertyNames14_ES5.ts, 4, 14))
[undefined]() { }
>[undefined] : Symbol(C[undefined], Decl(computedPropertyNames14_ES5.ts, 5, 21))
>undefined : Symbol(undefined)
static [null]() { }
>[null] : Symbol(C[null], Decl(computedPropertyNames14_ES5.ts, 6, 21))
}
@@ -6,20 +6,26 @@ class C {
>C : C
[b]() {}
>[b] : () => void
>b : boolean
static [true]() { }
>[true] : () => void
>true : true
[[]]() { }
>[[]] : () => void
>[] : undefined[]
static [{}]() { }
>[{}] : () => void
>{} : {}
[undefined]() { }
>[undefined] : () => void
>undefined : undefined
static [null]() { }
>[null] : () => void
>null : null
}
@@ -6,13 +6,22 @@ class C {
>C : Symbol(C, Decl(computedPropertyNames14_ES6.ts, 0, 15))
[b]() {}
>[b] : Symbol(C[b], Decl(computedPropertyNames14_ES6.ts, 1, 9))
>b : Symbol(b, Decl(computedPropertyNames14_ES6.ts, 0, 3))
static [true]() { }
>[true] : Symbol(C[true], Decl(computedPropertyNames14_ES6.ts, 2, 12))
[[]]() { }
>[[]] : Symbol(C[[]], Decl(computedPropertyNames14_ES6.ts, 3, 23))
static [{}]() { }
>[{}] : Symbol(C[{}], Decl(computedPropertyNames14_ES6.ts, 4, 14))
[undefined]() { }
>[undefined] : Symbol(C[undefined], Decl(computedPropertyNames14_ES6.ts, 5, 21))
>undefined : Symbol(undefined)
static [null]() { }
>[null] : Symbol(C[null], Decl(computedPropertyNames14_ES6.ts, 6, 21))
}
@@ -6,20 +6,26 @@ class C {
>C : C
[b]() {}
>[b] : () => void
>b : boolean
static [true]() { }
>[true] : () => void
>true : true
[[]]() { }
>[[]] : () => void
>[] : undefined[]
static [{}]() { }
>[{}] : () => void
>{} : {}
[undefined]() { }
>[undefined] : () => void
>undefined : undefined
static [null]() { }
>[null] : () => void
>null : null
}
@@ -12,11 +12,14 @@ class C {
>C : Symbol(C, Decl(computedPropertyNames15_ES5.ts, 2, 25))
[p1]() { }
>[p1] : Symbol(C[p1], Decl(computedPropertyNames15_ES5.ts, 3, 9))
>p1 : Symbol(p1, Decl(computedPropertyNames15_ES5.ts, 0, 3))
[p2]() { }
>[p2] : Symbol(C[p2], Decl(computedPropertyNames15_ES5.ts, 4, 14))
>p2 : Symbol(p2, Decl(computedPropertyNames15_ES5.ts, 1, 3))
[p3]() { }
>[p3] : Symbol(C[p3], Decl(computedPropertyNames15_ES5.ts, 5, 14))
>p3 : Symbol(p3, Decl(computedPropertyNames15_ES5.ts, 2, 3))
}
@@ -12,11 +12,14 @@ class C {
>C : C
[p1]() { }
>[p1] : () => void
>p1 : string | number
[p2]() { }
>[p2] : () => void
>p2 : number | number[]
[p3]() { }
>[p3] : () => void
>p3 : string | boolean
}
@@ -12,11 +12,14 @@ class C {
>C : Symbol(C, Decl(computedPropertyNames15_ES6.ts, 2, 25))
[p1]() { }
>[p1] : Symbol(C[p1], Decl(computedPropertyNames15_ES6.ts, 3, 9))
>p1 : Symbol(p1, Decl(computedPropertyNames15_ES6.ts, 0, 3))
[p2]() { }
>[p2] : Symbol(C[p2], Decl(computedPropertyNames15_ES6.ts, 4, 14))
>p2 : Symbol(p2, Decl(computedPropertyNames15_ES6.ts, 1, 3))
[p3]() { }
>[p3] : Symbol(C[p3], Decl(computedPropertyNames15_ES6.ts, 5, 14))
>p3 : Symbol(p3, Decl(computedPropertyNames15_ES6.ts, 2, 3))
}
@@ -12,11 +12,14 @@ class C {
>C : C
[p1]() { }
>[p1] : () => void
>p1 : string | number
[p2]() { }
>[p2] : () => void
>p2 : number | number[]
[p3]() { }
>[p3] : () => void
>p3 : string | boolean
}
@@ -12,39 +12,51 @@ class C {
>C : Symbol(C, Decl(computedPropertyNames16_ES5.ts, 2, 11))
get [s]() { return 0;}
>[s] : Symbol(C[s], Decl(computedPropertyNames16_ES5.ts, 3, 9))
>s : Symbol(s, Decl(computedPropertyNames16_ES5.ts, 0, 3))
set [n](v) { }
>[n] : Symbol(C[n], Decl(computedPropertyNames16_ES5.ts, 4, 26))
>n : Symbol(n, Decl(computedPropertyNames16_ES5.ts, 1, 3))
>v : Symbol(v, Decl(computedPropertyNames16_ES5.ts, 5, 12))
static get [s + s]() { return 0; }
>[s + s] : Symbol(C[s + s], Decl(computedPropertyNames16_ES5.ts, 5, 18))
>s : Symbol(s, Decl(computedPropertyNames16_ES5.ts, 0, 3))
>s : Symbol(s, Decl(computedPropertyNames16_ES5.ts, 0, 3))
set [s + n](v) { }
>[s + n] : Symbol(C[s + n], Decl(computedPropertyNames16_ES5.ts, 6, 38))
>s : Symbol(s, Decl(computedPropertyNames16_ES5.ts, 0, 3))
>n : Symbol(n, Decl(computedPropertyNames16_ES5.ts, 1, 3))
>v : Symbol(v, Decl(computedPropertyNames16_ES5.ts, 7, 16))
get [+s]() { return 0; }
>[+s] : Symbol(C[+s], Decl(computedPropertyNames16_ES5.ts, 7, 22))
>s : Symbol(s, Decl(computedPropertyNames16_ES5.ts, 0, 3))
static set [""](v) { }
>[""] : Symbol(C[""], Decl(computedPropertyNames16_ES5.ts, 8, 28))
>"" : Symbol(C[""], Decl(computedPropertyNames16_ES5.ts, 8, 28))
>v : Symbol(v, Decl(computedPropertyNames16_ES5.ts, 9, 20))
get [0]() { return 0; }
>[0] : Symbol(C[0], Decl(computedPropertyNames16_ES5.ts, 9, 26))
>0 : Symbol(C[0], Decl(computedPropertyNames16_ES5.ts, 9, 26))
set [a](v) { }
>[a] : Symbol(C[a], Decl(computedPropertyNames16_ES5.ts, 10, 27))
>a : Symbol(a, Decl(computedPropertyNames16_ES5.ts, 2, 3))
>v : Symbol(v, Decl(computedPropertyNames16_ES5.ts, 11, 12))
static get [<any>true]() { return 0; }
>[<any>true] : Symbol(C[<any>true], Decl(computedPropertyNames16_ES5.ts, 11, 18))
set [`hello bye`](v) { }
>[`hello bye`] : Symbol(C[`hello bye`], Decl(computedPropertyNames16_ES5.ts, 12, 42))
>v : Symbol(v, Decl(computedPropertyNames16_ES5.ts, 13, 22))
get [`hello ${a} bye`]() { return 0; }
>[`hello ${a} bye`] : Symbol(C[`hello ${a} bye`], Decl(computedPropertyNames16_ES5.ts, 13, 28))
>a : Symbol(a, Decl(computedPropertyNames16_ES5.ts, 2, 3))
}
@@ -12,52 +12,63 @@ class C {
>C : C
get [s]() { return 0;}
>[s] : number
>s : string
>0 : 0
set [n](v) { }
>[n] : any
>n : number
>v : any
static get [s + s]() { return 0; }
>[s + s] : number
>s + s : string
>s : string
>s : string
>0 : 0
set [s + n](v) { }
>[s + n] : any
>s + n : string
>s : string
>n : number
>v : any
get [+s]() { return 0; }
>[+s] : number
>+s : number
>s : string
>0 : 0
static set [""](v) { }
>[""] : any
>"" : ""
>v : any
get [0]() { return 0; }
>[0] : number
>0 : 0
>0 : 0
set [a](v) { }
>[a] : any
>a : any
>v : any
static get [<any>true]() { return 0; }
>[<any>true] : number
><any>true : any
>true : true
>0 : 0
set [`hello bye`](v) { }
>[`hello bye`] : any
>`hello bye` : "hello bye"
>v : any
get [`hello ${a} bye`]() { return 0; }
>[`hello ${a} bye`] : number
>`hello ${a} bye` : string
>a : any
>0 : 0
@@ -12,39 +12,51 @@ class C {
>C : Symbol(C, Decl(computedPropertyNames16_ES6.ts, 2, 11))
get [s]() { return 0;}
>[s] : Symbol(C[s], Decl(computedPropertyNames16_ES6.ts, 3, 9))
>s : Symbol(s, Decl(computedPropertyNames16_ES6.ts, 0, 3))
set [n](v) { }
>[n] : Symbol(C[n], Decl(computedPropertyNames16_ES6.ts, 4, 26))
>n : Symbol(n, Decl(computedPropertyNames16_ES6.ts, 1, 3))
>v : Symbol(v, Decl(computedPropertyNames16_ES6.ts, 5, 12))
static get [s + s]() { return 0; }
>[s + s] : Symbol(C[s + s], Decl(computedPropertyNames16_ES6.ts, 5, 18))
>s : Symbol(s, Decl(computedPropertyNames16_ES6.ts, 0, 3))
>s : Symbol(s, Decl(computedPropertyNames16_ES6.ts, 0, 3))
set [s + n](v) { }
>[s + n] : Symbol(C[s + n], Decl(computedPropertyNames16_ES6.ts, 6, 38))
>s : Symbol(s, Decl(computedPropertyNames16_ES6.ts, 0, 3))
>n : Symbol(n, Decl(computedPropertyNames16_ES6.ts, 1, 3))
>v : Symbol(v, Decl(computedPropertyNames16_ES6.ts, 7, 16))
get [+s]() { return 0; }
>[+s] : Symbol(C[+s], Decl(computedPropertyNames16_ES6.ts, 7, 22))
>s : Symbol(s, Decl(computedPropertyNames16_ES6.ts, 0, 3))
static set [""](v) { }
>[""] : Symbol(C[""], Decl(computedPropertyNames16_ES6.ts, 8, 28))
>"" : Symbol(C[""], Decl(computedPropertyNames16_ES6.ts, 8, 28))
>v : Symbol(v, Decl(computedPropertyNames16_ES6.ts, 9, 20))
get [0]() { return 0; }
>[0] : Symbol(C[0], Decl(computedPropertyNames16_ES6.ts, 9, 26))
>0 : Symbol(C[0], Decl(computedPropertyNames16_ES6.ts, 9, 26))
set [a](v) { }
>[a] : Symbol(C[a], Decl(computedPropertyNames16_ES6.ts, 10, 27))
>a : Symbol(a, Decl(computedPropertyNames16_ES6.ts, 2, 3))
>v : Symbol(v, Decl(computedPropertyNames16_ES6.ts, 11, 12))
static get [<any>true]() { return 0; }
>[<any>true] : Symbol(C[<any>true], Decl(computedPropertyNames16_ES6.ts, 11, 18))
set [`hello bye`](v) { }
>[`hello bye`] : Symbol(C[`hello bye`], Decl(computedPropertyNames16_ES6.ts, 12, 42))
>v : Symbol(v, Decl(computedPropertyNames16_ES6.ts, 13, 22))
get [`hello ${a} bye`]() { return 0; }
>[`hello ${a} bye`] : Symbol(C[`hello ${a} bye`], Decl(computedPropertyNames16_ES6.ts, 13, 28))
>a : Symbol(a, Decl(computedPropertyNames16_ES6.ts, 2, 3))
}
@@ -12,52 +12,63 @@ class C {
>C : C
get [s]() { return 0;}
>[s] : number
>s : string
>0 : 0
set [n](v) { }
>[n] : any
>n : number
>v : any
static get [s + s]() { return 0; }
>[s + s] : number
>s + s : string
>s : string
>s : string
>0 : 0
set [s + n](v) { }
>[s + n] : any
>s + n : string
>s : string
>n : number
>v : any
get [+s]() { return 0; }
>[+s] : number
>+s : number
>s : string
>0 : 0
static set [""](v) { }
>[""] : any
>"" : ""
>v : any
get [0]() { return 0; }
>[0] : number
>0 : 0
>0 : 0
set [a](v) { }
>[a] : any
>a : any
>v : any
static get [<any>true]() { return 0; }
>[<any>true] : number
><any>true : any
>true : true
>0 : 0
set [`hello bye`](v) { }
>[`hello bye`] : any
>`hello bye` : "hello bye"
>v : any
get [`hello ${a} bye`]() { return 0; }
>[`hello ${a} bye`] : number
>`hello ${a} bye` : string
>a : any
>0 : 0
@@ -6,18 +6,25 @@ class C {
>C : Symbol(C, Decl(computedPropertyNames17_ES5.ts, 0, 15))
get [b]() { return 0;}
>[b] : Symbol(C[b], Decl(computedPropertyNames17_ES5.ts, 1, 9))
>b : Symbol(b, Decl(computedPropertyNames17_ES5.ts, 0, 3))
static set [true](v) { }
>[true] : Symbol(C[true], Decl(computedPropertyNames17_ES5.ts, 2, 26))
>v : Symbol(v, Decl(computedPropertyNames17_ES5.ts, 3, 22))
get [[]]() { return 0; }
>[[]] : Symbol(C[[]], Decl(computedPropertyNames17_ES5.ts, 3, 28))
set [{}](v) { }
>[{}] : Symbol(C[{}], Decl(computedPropertyNames17_ES5.ts, 4, 28))
>v : Symbol(v, Decl(computedPropertyNames17_ES5.ts, 5, 13))
static get [undefined]() { return 0; }
>[undefined] : Symbol(C[undefined], Decl(computedPropertyNames17_ES5.ts, 5, 19))
>undefined : Symbol(undefined)
set [null](v) { }
>[null] : Symbol(C[null], Decl(computedPropertyNames17_ES5.ts, 6, 42))
>v : Symbol(v, Decl(computedPropertyNames17_ES5.ts, 7, 15))
}
@@ -6,26 +6,32 @@ class C {
>C : C
get [b]() { return 0;}
>[b] : number
>b : boolean
>0 : 0
static set [true](v) { }
>[true] : any
>true : true
>v : any
get [[]]() { return 0; }
>[[]] : number
>[] : undefined[]
>0 : 0
set [{}](v) { }
>[{}] : any
>{} : {}
>v : any
static get [undefined]() { return 0; }
>[undefined] : number
>undefined : undefined
>0 : 0
set [null](v) { }
>[null] : any
>null : null
>v : any
}
@@ -6,18 +6,25 @@ class C {
>C : Symbol(C, Decl(computedPropertyNames17_ES6.ts, 0, 15))
get [b]() { return 0;}
>[b] : Symbol(C[b], Decl(computedPropertyNames17_ES6.ts, 1, 9))
>b : Symbol(b, Decl(computedPropertyNames17_ES6.ts, 0, 3))
static set [true](v) { }
>[true] : Symbol(C[true], Decl(computedPropertyNames17_ES6.ts, 2, 26))
>v : Symbol(v, Decl(computedPropertyNames17_ES6.ts, 3, 22))
get [[]]() { return 0; }
>[[]] : Symbol(C[[]], Decl(computedPropertyNames17_ES6.ts, 3, 28))
set [{}](v) { }
>[{}] : Symbol(C[{}], Decl(computedPropertyNames17_ES6.ts, 4, 28))
>v : Symbol(v, Decl(computedPropertyNames17_ES6.ts, 5, 13))
static get [undefined]() { return 0; }
>[undefined] : Symbol(C[undefined], Decl(computedPropertyNames17_ES6.ts, 5, 19))
>undefined : Symbol(undefined)
set [null](v) { }
>[null] : Symbol(C[null], Decl(computedPropertyNames17_ES6.ts, 6, 42))
>v : Symbol(v, Decl(computedPropertyNames17_ES6.ts, 7, 15))
}
@@ -6,26 +6,32 @@ class C {
>C : C
get [b]() { return 0;}
>[b] : number
>b : boolean
>0 : 0
static set [true](v) { }
>[true] : any
>true : true
>v : any
get [[]]() { return 0; }
>[[]] : number
>[] : undefined[]
>0 : 0
set [{}](v) { }
>[{}] : any
>{} : {}
>v : any
static get [undefined]() { return 0; }
>[undefined] : number
>undefined : undefined
>0 : 0
set [null](v) { }
>[null] : any
>null : null
>v : any
}
@@ -6,5 +6,6 @@ function foo() {
>obj : Symbol(obj, Decl(computedPropertyNames18_ES5.ts, 1, 7))
[this.bar]: 0
>[this.bar] : Symbol([this.bar], Decl(computedPropertyNames18_ES5.ts, 1, 15))
}
}
@@ -7,6 +7,7 @@ function foo() {
>{ [this.bar]: 0 } : { [x: number]: number; }
[this.bar]: 0
>[this.bar] : number
>this.bar : any
>this : any
>bar : any
@@ -6,5 +6,6 @@ function foo() {
>obj : Symbol(obj, Decl(computedPropertyNames18_ES6.ts, 1, 7))
[this.bar]: 0
>[this.bar] : Symbol([this.bar], Decl(computedPropertyNames18_ES6.ts, 1, 15))
}
}
@@ -7,6 +7,7 @@ function foo() {
>{ [this.bar]: 0 } : { [x: number]: number; }
[this.bar]: 0
>[this.bar] : number
>this.bar : any
>this : any
>bar : any
@@ -6,5 +6,6 @@ module M {
>obj : Symbol(obj, Decl(computedPropertyNames19_ES5.ts, 1, 7))
[this.bar]: 0
>[this.bar] : Symbol([this.bar], Decl(computedPropertyNames19_ES5.ts, 1, 15))
}
}
@@ -7,6 +7,7 @@ module M {
>{ [this.bar]: 0 } : { [x: number]: number; }
[this.bar]: 0
>[this.bar] : number
>this.bar : any
>this : any
>bar : any
@@ -6,5 +6,6 @@ module M {
>obj : Symbol(obj, Decl(computedPropertyNames19_ES6.ts, 1, 7))
[this.bar]: 0
>[this.bar] : Symbol([this.bar], Decl(computedPropertyNames19_ES6.ts, 1, 15))
}
}

Some files were not shown because too many files have changed in this diff Show More