2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/nestedRecursiveLambda.ts ===
|
|
|
|
function f(a:any) {
|
|
|
|
>f : (a: any) => void
|
|
|
|
>a : any
|
|
|
|
|
|
|
|
void (r =>(r => r));
|
|
|
|
>void (r =>(r => r)) : undefined
|
|
|
|
>(r =>(r => r)) : (r: any) => (r: any) => any
|
|
|
|
>r =>(r => r) : (r: any) => (r: any) => any
|
|
|
|
>r : any
|
|
|
|
>(r => r) : (r: any) => any
|
|
|
|
>r => r : (r: any) => any
|
|
|
|
>r : any
|
|
|
|
>r : any
|
|
|
|
}
|
|
|
|
f((r =>(r => r)));
|
|
|
|
>f((r =>(r => r))) : void
|
|
|
|
>f : (a: any) => void
|
|
|
|
>(r =>(r => r)) : (r: any) => (r: any) => any
|
|
|
|
>r =>(r => r) : (r: any) => (r: any) => any
|
|
|
|
>r : any
|
|
|
|
>(r => r) : (r: any) => any
|
|
|
|
>r => r : (r: any) => any
|
|
|
|
>r : any
|
|
|
|
>r : any
|
|
|
|
|
|
|
|
void(r =>(r => r));
|
|
|
|
>void(r =>(r => r)) : undefined
|
|
|
|
>(r =>(r => r)) : (r: any) => (r: any) => any
|
|
|
|
>r =>(r => r) : (r: any) => (r: any) => any
|
|
|
|
>r : any
|
|
|
|
>(r => r) : (r: any) => any
|
|
|
|
>r => r : (r: any) => any
|
|
|
|
>r : any
|
|
|
|
>r : any
|
|
|
|
|
|
|
|
[(r =>(r => r))]
|
2014-10-18 01:53:18 +02:00
|
|
|
>[(r =>(r => r))] : ((r: any) => (r: any) => any)[]
|
2014-08-15 23:33:16 +02:00
|
|
|
>(r =>(r => r)) : (r: any) => (r: any) => any
|
|
|
|
>r =>(r => r) : (r: any) => (r: any) => any
|
|
|
|
>r : any
|
|
|
|
>(r => r) : (r: any) => any
|
|
|
|
>r => r : (r: any) => any
|
|
|
|
>r : any
|
|
|
|
>r : any
|
|
|
|
|