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

15 lines
634 B
Plaintext

//// [tests/cases/compiler/functionWithDefaultParameterWithNoStatements15.ts] ////
=== functionWithDefaultParameterWithNoStatements15.ts ===
var v: any[];
>v : Symbol(v, Decl(functionWithDefaultParameterWithNoStatements15.ts, 0, 3))
function foo(a = (1 + 1)) { }
>foo : Symbol(foo, Decl(functionWithDefaultParameterWithNoStatements15.ts, 0, 13))
>a : Symbol(a, Decl(functionWithDefaultParameterWithNoStatements15.ts, 2, 13))
function bar(a = (1 + 1)) {
>bar : Symbol(bar, Decl(functionWithDefaultParameterWithNoStatements15.ts, 2, 29))
>a : Symbol(a, Decl(functionWithDefaultParameterWithNoStatements15.ts, 4, 13))
}