=== tests/cases/compiler/contextualTyping32.ts ===
function foo(param: {():number; (i:number):number; }[]) { }; foo([function(){return 1;}, function(){return 4}]);
>foo : (param: { (): number; (i: number): number; }[]) => void
>param : { (): number; (i: number): number; }[]
>i : number
>foo([function(){return 1;}, function(){return 4}]) : void
>foo : (param: { (): number; (i: number): number; }[]) => void
>[function(){return 1;}, function(){return 4}] : (() => number)[]
>function(){return 1;} : () => number
>1 : number
>function(){return 4} : () => number
>4 : number

