14 lines
769 B
Text
14 lines
769 B
Text
=== tests/cases/compiler/functionOverloads10.ts ===
|
|
function foo(foo:string, bar:number);
|
|
>foo : Symbol(foo, Decl(functionOverloads10.ts, 0, 0), Decl(functionOverloads10.ts, 0, 37), Decl(functionOverloads10.ts, 1, 25))
|
|
>foo : Symbol(foo, Decl(functionOverloads10.ts, 0, 13))
|
|
>bar : Symbol(bar, Decl(functionOverloads10.ts, 0, 24))
|
|
|
|
function foo(foo:string);
|
|
>foo : Symbol(foo, Decl(functionOverloads10.ts, 0, 0), Decl(functionOverloads10.ts, 0, 37), Decl(functionOverloads10.ts, 1, 25))
|
|
>foo : Symbol(foo, Decl(functionOverloads10.ts, 1, 13))
|
|
|
|
function foo(foo:any){ }
|
|
>foo : Symbol(foo, Decl(functionOverloads10.ts, 0, 0), Decl(functionOverloads10.ts, 0, 37), Decl(functionOverloads10.ts, 1, 25))
|
|
>foo : Symbol(foo, Decl(functionOverloads10.ts, 2, 13))
|
|
|