Files
tsgo/testdata/baselines/reference/submodule/compiler/computedPropertiesInDestructuring2_ES6.symbols
2025-02-26 14:53:49 -08:00

11 lines
417 B
Plaintext

//// [tests/cases/compiler/computedPropertiesInDestructuring2_ES6.ts] ////
=== computedPropertiesInDestructuring2_ES6.ts ===
let foo2 = () => "bar";
>foo2 : Symbol(foo2, Decl(computedPropertiesInDestructuring2_ES6.ts, 0, 3))
let {[foo2()]: bar3} = {};
>foo2 : Symbol(foo2, Decl(computedPropertiesInDestructuring2_ES6.ts, 0, 3))
>bar3 : Symbol(bar3, Decl(computedPropertiesInDestructuring2_ES6.ts, 1, 5))