mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
578 B
Plaintext
13 lines
578 B
Plaintext
//// [tests/cases/compiler/asyncFunctionTempVariableScoping.ts] ////
|
|
|
|
=== asyncFunctionTempVariableScoping.ts ===
|
|
// https://github.com/Microsoft/TypeScript/issues/19187
|
|
|
|
async ({ foo, bar, ...rest }) => bar(await foo);
|
|
>foo : Symbol(foo, Decl(asyncFunctionTempVariableScoping.ts, 2, 8))
|
|
>bar : Symbol(bar, Decl(asyncFunctionTempVariableScoping.ts, 2, 13))
|
|
>rest : Symbol(rest, Decl(asyncFunctionTempVariableScoping.ts, 2, 18))
|
|
>bar : Symbol(bar, Decl(asyncFunctionTempVariableScoping.ts, 2, 13))
|
|
>foo : Symbol(foo, Decl(asyncFunctionTempVariableScoping.ts, 2, 8))
|
|
|