mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
508 B
Plaintext
18 lines
508 B
Plaintext
//// [tests/cases/compiler/controlFlowDestructuringParameters.ts] ////
|
|
|
|
=== controlFlowDestructuringParameters.ts ===
|
|
// Repro for #8376
|
|
|
|
|
|
[{ x: 1 }].map(
|
|
>[{ x: 1 }].map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --))
|
|
>x : Symbol(x, Decl(controlFlowDestructuringParameters.ts, 3, 2))
|
|
>map : Symbol(Array.map, Decl(lib.es5.d.ts, --, --))
|
|
|
|
({ x }) => x
|
|
>x : Symbol(x, Decl(controlFlowDestructuringParameters.ts, 4, 4))
|
|
>x : Symbol(x, Decl(controlFlowDestructuringParameters.ts, 4, 4))
|
|
|
|
);
|
|
|