=== tests/cases/compiler/genericCombinators2.ts ===
interface Collection<T, U> {
    length: number;
>length : number

    add(x: T, y: U): void;
>add : (x: T, y: U) => void
>x : T
>y : U

    remove(x: T, y: U): boolean;
>remove : (x: T, y: U) => boolean
>x : T
>y : U
}

interface Combinators {
    map<T, U>(c: Collection<T, U>, f: (x: T, y: U) => any): Collection<any, any>;
>map : { <T, U>(c: Collection<T, U>, f: (x: T, y: U) => any): Collection<any, any>; <T, U, V>(c: Collection<T, U>, f: (x: T, y: U) => V): Collection<T, V>; }
>c : Collection<T, U>
>f : (x: T, y: U) => any
>x : T
>y : U

    map<T, U, V>(c: Collection<T, U>, f: (x: T, y: U) => V): Collection<T, V>;
>map : { <T, U>(c: Collection<T, U>, f: (x: T, y: U) => any): Collection<any, any>; <T, U, V>(c: Collection<T, U>, f: (x: T, y: U) => V): Collection<T, V>; }
>c : Collection<T, U>
>f : (x: T, y: U) => V
>x : T
>y : U
}

var _: Combinators;
>_ : Combinators

var c2: Collection<number, string>;
>c2 : Collection<number, string>

var rf1 = (x: number, y: string) => { return x.toFixed() };
>rf1 : (x: number, y: string) => string
>(x: number, y: string) => { return x.toFixed() } : (x: number, y: string) => string
>x : number
>y : string
>x.toFixed() : string
>x.toFixed : (fractionDigits?: number) => string
>x : number
>toFixed : (fractionDigits?: number) => string

var r5a = _.map<number, string, Date>(c2, (x, y) => { return x.toFixed() });
>r5a : Collection<any, any>
>_.map<number, string, Date>(c2, (x, y) => { return x.toFixed() }) : Collection<any, any>
>_.map : { <T, U>(c: Collection<T, U>, f: (x: T, y: U) => any): Collection<any, any>; <T, U, V>(c: Collection<T, U>, f: (x: T, y: U) => V): Collection<T, V>; }
>_ : Combinators
>map : { <T, U>(c: Collection<T, U>, f: (x: T, y: U) => any): Collection<any, any>; <T, U, V>(c: Collection<T, U>, f: (x: T, y: U) => V): Collection<T, V>; }
>c2 : Collection<number, string>
>(x, y) => { return x.toFixed() } : (x: number, y: string) => string
>x : number
>y : string
>x.toFixed() : string
>x.toFixed : (fractionDigits?: number) => string
>x : number
>toFixed : (fractionDigits?: number) => string

var r5b = _.map<number, string, Date>(c2, rf1);
>r5b : Collection<any, any>
>_.map<number, string, Date>(c2, rf1) : Collection<any, any>
>_.map : { <T, U>(c: Collection<T, U>, f: (x: T, y: U) => any): Collection<any, any>; <T, U, V>(c: Collection<T, U>, f: (x: T, y: U) => V): Collection<T, V>; }
>_ : Combinators
>map : { <T, U>(c: Collection<T, U>, f: (x: T, y: U) => any): Collection<any, any>; <T, U, V>(c: Collection<T, U>, f: (x: T, y: U) => V): Collection<T, V>; }
>c2 : Collection<number, string>
>rf1 : (x: number, y: string) => string

