21 lines
1.5 KiB
Text
21 lines
1.5 KiB
Text
=== tests/cases/compiler/identityForSignaturesWithTypeParametersSwitched.ts ===
|
|
var f: <T, U>(x: T, y: U) => T;
|
|
>f : Symbol(f, Decl(identityForSignaturesWithTypeParametersSwitched.ts, 0, 3), Decl(identityForSignaturesWithTypeParametersSwitched.ts, 1, 3))
|
|
>T : Symbol(T, Decl(identityForSignaturesWithTypeParametersSwitched.ts, 0, 8))
|
|
>U : Symbol(U, Decl(identityForSignaturesWithTypeParametersSwitched.ts, 0, 10))
|
|
>x : Symbol(x, Decl(identityForSignaturesWithTypeParametersSwitched.ts, 0, 14))
|
|
>T : Symbol(T, Decl(identityForSignaturesWithTypeParametersSwitched.ts, 0, 8))
|
|
>y : Symbol(y, Decl(identityForSignaturesWithTypeParametersSwitched.ts, 0, 19))
|
|
>U : Symbol(U, Decl(identityForSignaturesWithTypeParametersSwitched.ts, 0, 10))
|
|
>T : Symbol(T, Decl(identityForSignaturesWithTypeParametersSwitched.ts, 0, 8))
|
|
|
|
var f: <T, U>(x: U, y: T) => U;
|
|
>f : Symbol(f, Decl(identityForSignaturesWithTypeParametersSwitched.ts, 0, 3), Decl(identityForSignaturesWithTypeParametersSwitched.ts, 1, 3))
|
|
>T : Symbol(T, Decl(identityForSignaturesWithTypeParametersSwitched.ts, 1, 8))
|
|
>U : Symbol(U, Decl(identityForSignaturesWithTypeParametersSwitched.ts, 1, 10))
|
|
>x : Symbol(x, Decl(identityForSignaturesWithTypeParametersSwitched.ts, 1, 14))
|
|
>U : Symbol(U, Decl(identityForSignaturesWithTypeParametersSwitched.ts, 1, 10))
|
|
>y : Symbol(y, Decl(identityForSignaturesWithTypeParametersSwitched.ts, 1, 19))
|
|
>T : Symbol(T, Decl(identityForSignaturesWithTypeParametersSwitched.ts, 1, 8))
|
|
>U : Symbol(U, Decl(identityForSignaturesWithTypeParametersSwitched.ts, 1, 10))
|
|
|