Files
tsgo/testdata/baselines/reference/conformance/dependentDestructuredVariablesNoCrash1.symbols

15 lines
790 B
Plaintext

//// [tests/cases/conformance/controlFlow/dependentDestructuredVariablesNoCrash1.ts] ////
=== dependentDestructuredVariablesNoCrash1.ts ===
// https://github.com/microsoft/TypeScript/issues/63044
function f()
>f : Symbol(f, Decl(dependentDestructuredVariablesNoCrash1.ts, 0, 0), Decl(dependentDestructuredVariablesNoCrash1.ts, 2, 12))
function f([first, undefined]?: () => any = undefined) {}
>f : Symbol(f, Decl(dependentDestructuredVariablesNoCrash1.ts, 0, 0), Decl(dependentDestructuredVariablesNoCrash1.ts, 2, 12))
>first : Symbol(first, Decl(dependentDestructuredVariablesNoCrash1.ts, 4, 12))
>undefined : Symbol(undefined, Decl(dependentDestructuredVariablesNoCrash1.ts, 4, 18))
>undefined : Symbol(undefined, Decl(dependentDestructuredVariablesNoCrash1.ts, 4, 18))