mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
38 lines
2.3 KiB
Plaintext
38 lines
2.3 KiB
Plaintext
//// [tests/cases/conformance/es6/computedProperties/computedPropertyNames9_ES6.ts] ////
|
|
|
|
=== computedPropertyNames9_ES6.ts ===
|
|
function f(s: string): string;
|
|
>f : Symbol(f, Decl(computedPropertyNames9_ES6.ts, 0, 0), Decl(computedPropertyNames9_ES6.ts, 0, 30), Decl(computedPropertyNames9_ES6.ts, 1, 30), Decl(computedPropertyNames9_ES6.ts, 2, 23))
|
|
>s : Symbol(s, Decl(computedPropertyNames9_ES6.ts, 0, 11))
|
|
|
|
function f(n: number): number;
|
|
>f : Symbol(f, Decl(computedPropertyNames9_ES6.ts, 0, 0), Decl(computedPropertyNames9_ES6.ts, 0, 30), Decl(computedPropertyNames9_ES6.ts, 1, 30), Decl(computedPropertyNames9_ES6.ts, 2, 23))
|
|
>n : Symbol(n, Decl(computedPropertyNames9_ES6.ts, 1, 11))
|
|
|
|
function f<T>(x: T): T;
|
|
>f : Symbol(f, Decl(computedPropertyNames9_ES6.ts, 0, 0), Decl(computedPropertyNames9_ES6.ts, 0, 30), Decl(computedPropertyNames9_ES6.ts, 1, 30), Decl(computedPropertyNames9_ES6.ts, 2, 23))
|
|
>T : Symbol(T, Decl(computedPropertyNames9_ES6.ts, 2, 11))
|
|
>x : Symbol(x, Decl(computedPropertyNames9_ES6.ts, 2, 14))
|
|
>T : Symbol(T, Decl(computedPropertyNames9_ES6.ts, 2, 11))
|
|
>T : Symbol(T, Decl(computedPropertyNames9_ES6.ts, 2, 11))
|
|
|
|
function f(x): any { }
|
|
>f : Symbol(f, Decl(computedPropertyNames9_ES6.ts, 0, 0), Decl(computedPropertyNames9_ES6.ts, 0, 30), Decl(computedPropertyNames9_ES6.ts, 1, 30), Decl(computedPropertyNames9_ES6.ts, 2, 23))
|
|
>x : Symbol(x, Decl(computedPropertyNames9_ES6.ts, 3, 11))
|
|
|
|
var v = {
|
|
>v : Symbol(v, Decl(computedPropertyNames9_ES6.ts, 5, 3))
|
|
|
|
[f("")]: 0,
|
|
>[f("")] : Symbol([f("")], Decl(computedPropertyNames9_ES6.ts, 5, 9))
|
|
>f : Symbol(f, Decl(computedPropertyNames9_ES6.ts, 0, 0), Decl(computedPropertyNames9_ES6.ts, 0, 30), Decl(computedPropertyNames9_ES6.ts, 1, 30), Decl(computedPropertyNames9_ES6.ts, 2, 23))
|
|
|
|
[f(0)]: 0,
|
|
>[f(0)] : Symbol([f(0)], Decl(computedPropertyNames9_ES6.ts, 6, 15))
|
|
>f : Symbol(f, Decl(computedPropertyNames9_ES6.ts, 0, 0), Decl(computedPropertyNames9_ES6.ts, 0, 30), Decl(computedPropertyNames9_ES6.ts, 1, 30), Decl(computedPropertyNames9_ES6.ts, 2, 23))
|
|
|
|
[f(true)]: 0
|
|
>[f(true)] : Symbol([f(true)], Decl(computedPropertyNames9_ES6.ts, 7, 14))
|
|
>f : Symbol(f, Decl(computedPropertyNames9_ES6.ts, 0, 0), Decl(computedPropertyNames9_ES6.ts, 0, 30), Decl(computedPropertyNames9_ES6.ts, 1, 30), Decl(computedPropertyNames9_ES6.ts, 2, 23))
|
|
}
|