mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
28 lines
924 B
Plaintext
28 lines
924 B
Plaintext
//// [tests/cases/conformance/es6/computedProperties/computedPropertyNames15_ES6.ts] ////
|
|
|
|
=== computedPropertyNames15_ES6.ts ===
|
|
var p1: number | string;
|
|
>p1 : Symbol(p1, Decl(computedPropertyNames15_ES6.ts, 0, 3))
|
|
|
|
var p2: number | number[];
|
|
>p2 : Symbol(p2, Decl(computedPropertyNames15_ES6.ts, 1, 3))
|
|
|
|
var p3: string | boolean;
|
|
>p3 : Symbol(p3, Decl(computedPropertyNames15_ES6.ts, 2, 3))
|
|
|
|
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))
|
|
}
|