TypeScript/tests/baselines/reference/functionWithDefaultParameterWithNoStatements13.symbols
2015-04-15 16:44:20 -07:00

13 lines
569 B
Plaintext

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