(one: a, two: b): [a, b] {
->of2 : Symbol(of2, Decl(genericFunctionInference1.ts, 156, 44))
->a : Symbol(a, Decl(genericFunctionInference1.ts, 160, 13))
->b : Symbol(b, Decl(genericFunctionInference1.ts, 160, 15))
->one : Symbol(one, Decl(genericFunctionInference1.ts, 160, 19))
->a : Symbol(a, Decl(genericFunctionInference1.ts, 160, 13))
->two : Symbol(two, Decl(genericFunctionInference1.ts, 160, 26))
->b : Symbol(b, Decl(genericFunctionInference1.ts, 160, 15))
->a : Symbol(a, Decl(genericFunctionInference1.ts, 160, 13))
->b : Symbol(b, Decl(genericFunctionInference1.ts, 160, 15))
+>of2 : Symbol(of2, Decl(genericFunctionInference1.ts, 160, 44))
+>a : Symbol(a, Decl(genericFunctionInference1.ts, 164, 13))
+>b : Symbol(b, Decl(genericFunctionInference1.ts, 164, 15))
+>one : Symbol(one, Decl(genericFunctionInference1.ts, 164, 19))
+>a : Symbol(a, Decl(genericFunctionInference1.ts, 164, 13))
+>two : Symbol(two, Decl(genericFunctionInference1.ts, 164, 26))
+>b : Symbol(b, Decl(genericFunctionInference1.ts, 164, 15))
+>a : Symbol(a, Decl(genericFunctionInference1.ts, 164, 13))
+>b : Symbol(b, Decl(genericFunctionInference1.ts, 164, 15))
return [one, two];
->one : Symbol(one, Decl(genericFunctionInference1.ts, 160, 19))
->two : Symbol(two, Decl(genericFunctionInference1.ts, 160, 26))
+>one : Symbol(one, Decl(genericFunctionInference1.ts, 164, 19))
+>two : Symbol(two, Decl(genericFunctionInference1.ts, 164, 26))
}
const flipped = flip(of2);
->flipped : Symbol(flipped, Decl(genericFunctionInference1.ts, 164, 5))
->flip : Symbol(flip, Decl(genericFunctionInference1.ts, 134, 20))
->of2 : Symbol(of2, Decl(genericFunctionInference1.ts, 156, 44))
+>flipped : Symbol(flipped, Decl(genericFunctionInference1.ts, 168, 5))
+>flip : Symbol(flip, Decl(genericFunctionInference1.ts, 138, 20))
+>of2 : Symbol(of2, Decl(genericFunctionInference1.ts, 160, 44))
// #29904.1
type Component = (props: P) => {};
->Component : Symbol(Component, Decl(genericFunctionInference1.ts, 164, 26))
->P : Symbol(P, Decl(genericFunctionInference1.ts, 168, 15))
->props : Symbol(props, Decl(genericFunctionInference1.ts, 168, 21))
->P : Symbol(P, Decl(genericFunctionInference1.ts, 168, 15))
+>Component : Symbol(Component, Decl(genericFunctionInference1.ts, 168, 26))
+>P : Symbol(P, Decl(genericFunctionInference1.ts, 172, 15))
+>props : Symbol(props, Decl(genericFunctionInference1.ts, 172, 21))
+>P : Symbol(P, Decl(genericFunctionInference1.ts, 172, 15))
declare const myHoc1:
(C: Component
) => Component
;
->myHoc1 : Symbol(myHoc1, Decl(genericFunctionInference1.ts, 170, 13))
->P : Symbol(P, Decl(genericFunctionInference1.ts, 170, 23))
->C : Symbol(C, Decl(genericFunctionInference1.ts, 170, 26))
->Component : Symbol(Component, Decl(genericFunctionInference1.ts, 164, 26))
->P : Symbol(P, Decl(genericFunctionInference1.ts, 170, 23))
->Component : Symbol(Component, Decl(genericFunctionInference1.ts, 164, 26))
->P : Symbol(P, Decl(genericFunctionInference1.ts, 170, 23))
+>myHoc1 : Symbol(myHoc1, Decl(genericFunctionInference1.ts, 174, 13))
+>P : Symbol(P, Decl(genericFunctionInference1.ts, 174, 23))
+>C : Symbol(C, Decl(genericFunctionInference1.ts, 174, 26))
+>Component : Symbol(Component, Decl(genericFunctionInference1.ts, 168, 26))
+>P : Symbol(P, Decl(genericFunctionInference1.ts, 174, 23))
+>Component : Symbol(Component, Decl(genericFunctionInference1.ts, 168, 26))
+>P : Symbol(P, Decl(genericFunctionInference1.ts, 174, 23))
declare const myHoc2:
(C: Component
) => Component
;
->myHoc2 : Symbol(myHoc2, Decl(genericFunctionInference1.ts, 171, 13))
->P : Symbol(P, Decl(genericFunctionInference1.ts, 171, 23))
->C : Symbol(C, Decl(genericFunctionInference1.ts, 171, 26))
->Component : Symbol(Component, Decl(genericFunctionInference1.ts, 164, 26))
->P : Symbol(P, Decl(genericFunctionInference1.ts, 171, 23))
->Component : Symbol(Component, Decl(genericFunctionInference1.ts, 164, 26))
->P : Symbol(P, Decl(genericFunctionInference1.ts, 171, 23))
+>myHoc2 : Symbol(myHoc2, Decl(genericFunctionInference1.ts, 175, 13))
+>P : Symbol(P, Decl(genericFunctionInference1.ts, 175, 23))
+>C : Symbol(C, Decl(genericFunctionInference1.ts, 175, 26))
+>Component : Symbol(Component, Decl(genericFunctionInference1.ts, 168, 26))
+>P : Symbol(P, Decl(genericFunctionInference1.ts, 175, 23))
+>Component : Symbol(Component, Decl(genericFunctionInference1.ts, 168, 26))
+>P : Symbol(P, Decl(genericFunctionInference1.ts, 175, 23))
declare const MyComponent1: Component<{ foo: 1 }>;
->MyComponent1 : Symbol(MyComponent1, Decl(genericFunctionInference1.ts, 173, 13))
->Component : Symbol(Component, Decl(genericFunctionInference1.ts, 164, 26))
->foo : Symbol(foo, Decl(genericFunctionInference1.ts, 173, 39))
+>MyComponent1 : Symbol(MyComponent1, Decl(genericFunctionInference1.ts, 177, 13))
+>Component : Symbol(Component, Decl(genericFunctionInference1.ts, 168, 26))
+>foo : Symbol(foo, Decl(genericFunctionInference1.ts, 177, 39))
const enhance = pipe(
->enhance : Symbol(enhance, Decl(genericFunctionInference1.ts, 175, 5))
+>enhance : Symbol(enhance, Decl(genericFunctionInference1.ts, 179, 5))
>pipe : Symbol(pipe, Decl(genericFunctionInference1.ts, 0, 0), Decl(genericFunctionInference1.ts, 0, 84), Decl(genericFunctionInference1.ts, 1, 104))
myHoc1,
->myHoc1 : Symbol(myHoc1, Decl(genericFunctionInference1.ts, 170, 13))
+>myHoc1 : Symbol(myHoc1, Decl(genericFunctionInference1.ts, 174, 13))
myHoc2,
->myHoc2 : Symbol(myHoc2, Decl(genericFunctionInference1.ts, 171, 13))
+>myHoc2 : Symbol(myHoc2, Decl(genericFunctionInference1.ts, 175, 13))
);
const MyComponent2 = enhance(MyComponent1);
->MyComponent2 : Symbol(MyComponent2, Decl(genericFunctionInference1.ts, 180, 5))
->enhance : Symbol(enhance, Decl(genericFunctionInference1.ts, 175, 5))
->MyComponent1 : Symbol(MyComponent1, Decl(genericFunctionInference1.ts, 173, 13))
+>MyComponent2 : Symbol(MyComponent2, Decl(genericFunctionInference1.ts, 184, 5))
+>enhance : Symbol(enhance, Decl(genericFunctionInference1.ts, 179, 5))
+>MyComponent1 : Symbol(MyComponent1, Decl(genericFunctionInference1.ts, 177, 13))
// #29904.2
const fn20 = pipe((_a?: {}) => 1);
->fn20 : Symbol(fn20, Decl(genericFunctionInference1.ts, 184, 5))
+>fn20 : Symbol(fn20, Decl(genericFunctionInference1.ts, 188, 5))
>pipe : Symbol(pipe, Decl(genericFunctionInference1.ts, 0, 0), Decl(genericFunctionInference1.ts, 0, 84), Decl(genericFunctionInference1.ts, 1, 104))
->_a : Symbol(_a, Decl(genericFunctionInference1.ts, 184, 19))
+>_a : Symbol(_a, Decl(genericFunctionInference1.ts, 188, 19))
// #29904.3
type Fn = (n: number) => number;
->Fn : Symbol(Fn, Decl(genericFunctionInference1.ts, 184, 34))
->n : Symbol(n, Decl(genericFunctionInference1.ts, 188, 11))
+>Fn : Symbol(Fn, Decl(genericFunctionInference1.ts, 188, 34))
+>n : Symbol(n, Decl(genericFunctionInference1.ts, 192, 11))
const fn30: Fn = pipe(
->fn30 : Symbol(fn30, Decl(genericFunctionInference1.ts, 189, 5))
->Fn : Symbol(Fn, Decl(genericFunctionInference1.ts, 184, 34))
+>fn30 : Symbol(fn30, Decl(genericFunctionInference1.ts, 193, 5))
+>Fn : Symbol(Fn, Decl(genericFunctionInference1.ts, 188, 34))
>pipe : Symbol(pipe, Decl(genericFunctionInference1.ts, 0, 0), Decl(genericFunctionInference1.ts, 0, 84), Decl(genericFunctionInference1.ts, 1, 104))
x => x + 1,
->x : Symbol(x, Decl(genericFunctionInference1.ts, 189, 22))
->x : Symbol(x, Decl(genericFunctionInference1.ts, 189, 22))
+>x : Symbol(x, Decl(genericFunctionInference1.ts, 193, 22))
+>x : Symbol(x, Decl(genericFunctionInference1.ts, 193, 22))
x => x * 2,
->x : Symbol(x, Decl(genericFunctionInference1.ts, 190, 15))
->x : Symbol(x, Decl(genericFunctionInference1.ts, 190, 15))
+>x : Symbol(x, Decl(genericFunctionInference1.ts, 194, 15))
+>x : Symbol(x, Decl(genericFunctionInference1.ts, 194, 15))
);
const promise = Promise.resolve(1);
->promise : Symbol(promise, Decl(genericFunctionInference1.ts, 194, 5))
+>promise : Symbol(promise, Decl(genericFunctionInference1.ts, 198, 5))
>Promise.resolve : Symbol(PromiseConstructor.resolve, Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
>resolve : Symbol(PromiseConstructor.resolve, Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --))
promise.then(
>promise.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --))
->promise : Symbol(promise, Decl(genericFunctionInference1.ts, 194, 5))
+>promise : Symbol(promise, Decl(genericFunctionInference1.ts, 198, 5))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --))
pipe(
>pipe : Symbol(pipe, Decl(genericFunctionInference1.ts, 0, 0), Decl(genericFunctionInference1.ts, 0, 84), Decl(genericFunctionInference1.ts, 1, 104))
x => x + 1,
->x : Symbol(x, Decl(genericFunctionInference1.ts, 196, 9))
->x : Symbol(x, Decl(genericFunctionInference1.ts, 196, 9))
+>x : Symbol(x, Decl(genericFunctionInference1.ts, 200, 9))
+>x : Symbol(x, Decl(genericFunctionInference1.ts, 200, 9))
x => x * 2,
->x : Symbol(x, Decl(genericFunctionInference1.ts, 197, 19))
->x : Symbol(x, Decl(genericFunctionInference1.ts, 197, 19))
+>x : Symbol(x, Decl(genericFunctionInference1.ts, 201, 19))
+>x : Symbol(x, Decl(genericFunctionInference1.ts, 201, 19))
),
);
@@ -947,137 +956,137 @@ promise.then(
// #29904.4
declare const getString: () => string;
->getString : Symbol(getString, Decl(genericFunctionInference1.ts, 204, 13))
+>getString : Symbol(getString, Decl(genericFunctionInference1.ts, 208, 13))
declare const orUndefined: (name: string) => string | undefined;
->orUndefined : Symbol(orUndefined, Decl(genericFunctionInference1.ts, 205, 13))
->name : Symbol(name, Decl(genericFunctionInference1.ts, 205, 28))
+>orUndefined : Symbol(orUndefined, Decl(genericFunctionInference1.ts, 209, 13))
+>name : Symbol(name, Decl(genericFunctionInference1.ts, 209, 28))
declare const identity: (value: T) => T;
->identity : Symbol(identity, Decl(genericFunctionInference1.ts, 206, 13))
->T : Symbol(T, Decl(genericFunctionInference1.ts, 206, 25))
->value : Symbol(value, Decl(genericFunctionInference1.ts, 206, 28))
->T : Symbol(T, Decl(genericFunctionInference1.ts, 206, 25))
->T : Symbol(T, Decl(genericFunctionInference1.ts, 206, 25))
+>identity : Symbol(identity, Decl(genericFunctionInference1.ts, 210, 13))
+>T : Symbol(T, Decl(genericFunctionInference1.ts, 210, 25))
+>value : Symbol(value, Decl(genericFunctionInference1.ts, 210, 28))
+>T : Symbol(T, Decl(genericFunctionInference1.ts, 210, 25))
+>T : Symbol(T, Decl(genericFunctionInference1.ts, 210, 25))
const fn40 = pipe(
->fn40 : Symbol(fn40, Decl(genericFunctionInference1.ts, 208, 5))
+>fn40 : Symbol(fn40, Decl(genericFunctionInference1.ts, 212, 5))
>pipe : Symbol(pipe, Decl(genericFunctionInference1.ts, 0, 0), Decl(genericFunctionInference1.ts, 0, 84), Decl(genericFunctionInference1.ts, 1, 104))
getString,
->getString : Symbol(getString, Decl(genericFunctionInference1.ts, 204, 13))
+>getString : Symbol(getString, Decl(genericFunctionInference1.ts, 208, 13))
string => orUndefined(string),
->string : Symbol(string, Decl(genericFunctionInference1.ts, 209, 14))
->orUndefined : Symbol(orUndefined, Decl(genericFunctionInference1.ts, 205, 13))
->string : Symbol(string, Decl(genericFunctionInference1.ts, 209, 14))
+>string : Symbol(string, Decl(genericFunctionInference1.ts, 213, 14))
+>orUndefined : Symbol(orUndefined, Decl(genericFunctionInference1.ts, 209, 13))
+>string : Symbol(string, Decl(genericFunctionInference1.ts, 213, 14))
identity,
->identity : Symbol(identity, Decl(genericFunctionInference1.ts, 206, 13))
+>identity : Symbol(identity, Decl(genericFunctionInference1.ts, 210, 13))
);
// #29904.6
declare const getArray: () => string[];
->getArray : Symbol(getArray, Decl(genericFunctionInference1.ts, 216, 13))
+>getArray : Symbol(getArray, Decl(genericFunctionInference1.ts, 220, 13))
declare const first: (ts: T[]) => T;
->first : Symbol(first, Decl(genericFunctionInference1.ts, 217, 13))
->T : Symbol(T, Decl(genericFunctionInference1.ts, 217, 22))
->ts : Symbol(ts, Decl(genericFunctionInference1.ts, 217, 25))
->T : Symbol(T, Decl(genericFunctionInference1.ts, 217, 22))
->T : Symbol(T, Decl(genericFunctionInference1.ts, 217, 22))
+>first : Symbol(first, Decl(genericFunctionInference1.ts, 221, 13))
+>T : Symbol(T, Decl(genericFunctionInference1.ts, 221, 22))
+>ts : Symbol(ts, Decl(genericFunctionInference1.ts, 221, 25))
+>T : Symbol(T, Decl(genericFunctionInference1.ts, 221, 22))
+>T : Symbol(T, Decl(genericFunctionInference1.ts, 221, 22))
const fn60 = pipe(
->fn60 : Symbol(fn60, Decl(genericFunctionInference1.ts, 219, 5))
+>fn60 : Symbol(fn60, Decl(genericFunctionInference1.ts, 223, 5))
>pipe : Symbol(pipe, Decl(genericFunctionInference1.ts, 0, 0), Decl(genericFunctionInference1.ts, 0, 84), Decl(genericFunctionInference1.ts, 1, 104))
getArray,
->getArray : Symbol(getArray, Decl(genericFunctionInference1.ts, 216, 13))
+>getArray : Symbol(getArray, Decl(genericFunctionInference1.ts, 220, 13))
x => x,
->x : Symbol(x, Decl(genericFunctionInference1.ts, 220, 13))
->x : Symbol(x, Decl(genericFunctionInference1.ts, 220, 13))
+>x : Symbol(x, Decl(genericFunctionInference1.ts, 224, 13))
+>x : Symbol(x, Decl(genericFunctionInference1.ts, 224, 13))
first,
->first : Symbol(first, Decl(genericFunctionInference1.ts, 217, 13))
+>first : Symbol(first, Decl(genericFunctionInference1.ts, 221, 13))
);
const fn61 = pipe(
->fn61 : Symbol(fn61, Decl(genericFunctionInference1.ts, 225, 5))
+>fn61 : Symbol(fn61, Decl(genericFunctionInference1.ts, 229, 5))
>pipe : Symbol(pipe, Decl(genericFunctionInference1.ts, 0, 0), Decl(genericFunctionInference1.ts, 0, 84), Decl(genericFunctionInference1.ts, 1, 104))
getArray,
->getArray : Symbol(getArray, Decl(genericFunctionInference1.ts, 216, 13))
+>getArray : Symbol(getArray, Decl(genericFunctionInference1.ts, 220, 13))
identity,
->identity : Symbol(identity, Decl(genericFunctionInference1.ts, 206, 13))
+>identity : Symbol(identity, Decl(genericFunctionInference1.ts, 210, 13))
first,
->first : Symbol(first, Decl(genericFunctionInference1.ts, 217, 13))
+>first : Symbol(first, Decl(genericFunctionInference1.ts, 221, 13))
);
const fn62 = pipe(
->fn62 : Symbol(fn62, Decl(genericFunctionInference1.ts, 231, 5))
+>fn62 : Symbol(fn62, Decl(genericFunctionInference1.ts, 235, 5))
>pipe : Symbol(pipe, Decl(genericFunctionInference1.ts, 0, 0), Decl(genericFunctionInference1.ts, 0, 84), Decl(genericFunctionInference1.ts, 1, 104))
getArray,
->getArray : Symbol(getArray, Decl(genericFunctionInference1.ts, 216, 13))
+>getArray : Symbol(getArray, Decl(genericFunctionInference1.ts, 220, 13))
x => x,
->x : Symbol(x, Decl(genericFunctionInference1.ts, 232, 13))
->x : Symbol(x, Decl(genericFunctionInference1.ts, 232, 13))
+>x : Symbol(x, Decl(genericFunctionInference1.ts, 236, 13))
+>x : Symbol(x, Decl(genericFunctionInference1.ts, 236, 13))
x => first(x),
->x : Symbol(x, Decl(genericFunctionInference1.ts, 233, 11))
->first : Symbol(first, Decl(genericFunctionInference1.ts, 217, 13))
->x : Symbol(x, Decl(genericFunctionInference1.ts, 233, 11))
+>x : Symbol(x, Decl(genericFunctionInference1.ts, 237, 11))
+>first : Symbol(first, Decl(genericFunctionInference1.ts, 221, 13))
+>x : Symbol(x, Decl(genericFunctionInference1.ts, 237, 11))
);
// Repro from #30297
declare function foo2(fn: T, a?: U, b?: U): [T, U];
->foo2 : Symbol(foo2, Decl(genericFunctionInference1.ts, 235, 2))
->T : Symbol(T, Decl(genericFunctionInference1.ts, 239, 22))
->U : Symbol(U, Decl(genericFunctionInference1.ts, 239, 24))
->T : Symbol(T, Decl(genericFunctionInference1.ts, 239, 22))
->fn : Symbol(fn, Decl(genericFunctionInference1.ts, 239, 32))
->T : Symbol(T, Decl(genericFunctionInference1.ts, 239, 22))
->a : Symbol(a, Decl(genericFunctionInference1.ts, 239, 38))
->U : Symbol(U, Decl(genericFunctionInference1.ts, 239, 24))
->b : Symbol(b, Decl(genericFunctionInference1.ts, 239, 45))
->U : Symbol(U, Decl(genericFunctionInference1.ts, 239, 24))
->T : Symbol(T, Decl(genericFunctionInference1.ts, 239, 22))
->U : Symbol(U, Decl(genericFunctionInference1.ts, 239, 24))
+>foo2 : Symbol(foo2, Decl(genericFunctionInference1.ts, 239, 2))
+>T : Symbol(T, Decl(genericFunctionInference1.ts, 243, 22))
+>U : Symbol(U, Decl(genericFunctionInference1.ts, 243, 24))
+>T : Symbol(T, Decl(genericFunctionInference1.ts, 243, 22))
+>fn : Symbol(fn, Decl(genericFunctionInference1.ts, 243, 32))
+>T : Symbol(T, Decl(genericFunctionInference1.ts, 243, 22))
+>a : Symbol(a, Decl(genericFunctionInference1.ts, 243, 38))
+>U : Symbol(U, Decl(genericFunctionInference1.ts, 243, 24))
+>b : Symbol(b, Decl(genericFunctionInference1.ts, 243, 45))
+>U : Symbol(U, Decl(genericFunctionInference1.ts, 243, 24))
+>T : Symbol(T, Decl(genericFunctionInference1.ts, 243, 22))
+>U : Symbol(U, Decl(genericFunctionInference1.ts, 243, 24))
foo2(() => {});
->foo2 : Symbol(foo2, Decl(genericFunctionInference1.ts, 235, 2))
+>foo2 : Symbol(foo2, Decl(genericFunctionInference1.ts, 239, 2))
foo2(identity);
->foo2 : Symbol(foo2, Decl(genericFunctionInference1.ts, 235, 2))
->identity : Symbol(identity, Decl(genericFunctionInference1.ts, 206, 13))
+>foo2 : Symbol(foo2, Decl(genericFunctionInference1.ts, 239, 2))
+>identity : Symbol(identity, Decl(genericFunctionInference1.ts, 210, 13))
foo2(identity, 1);
->foo2 : Symbol(foo2, Decl(genericFunctionInference1.ts, 235, 2))
->identity : Symbol(identity, Decl(genericFunctionInference1.ts, 206, 13))
+>foo2 : Symbol(foo2, Decl(genericFunctionInference1.ts, 239, 2))
+>identity : Symbol(identity, Decl(genericFunctionInference1.ts, 210, 13))
// Repro from #30324
declare function times(fn: (i: number) => T): (n: number) => T[];
->times : Symbol(times, Decl(genericFunctionInference1.ts, 243, 18))
->T : Symbol(T, Decl(genericFunctionInference1.ts, 247, 23))
->fn : Symbol(fn, Decl(genericFunctionInference1.ts, 247, 26))
->i : Symbol(i, Decl(genericFunctionInference1.ts, 247, 31))
->T : Symbol(T, Decl(genericFunctionInference1.ts, 247, 23))
->n : Symbol(n, Decl(genericFunctionInference1.ts, 247, 50))
->T : Symbol(T, Decl(genericFunctionInference1.ts, 247, 23))
+>times : Symbol(times, Decl(genericFunctionInference1.ts, 247, 18))
+>T : Symbol(T, Decl(genericFunctionInference1.ts, 251, 23))
+>fn : Symbol(fn, Decl(genericFunctionInference1.ts, 251, 26))
+>i : Symbol(i, Decl(genericFunctionInference1.ts, 251, 31))
+>T : Symbol(T, Decl(genericFunctionInference1.ts, 251, 23))
+>n : Symbol(n, Decl(genericFunctionInference1.ts, 251, 50))
+>T : Symbol(T, Decl(genericFunctionInference1.ts, 251, 23))
const a2 = times(identity)(5); // => [0, 1, 2, 3, 4]
->a2 : Symbol(a2, Decl(genericFunctionInference1.ts, 248, 5))
->times : Symbol(times, Decl(genericFunctionInference1.ts, 243, 18))
->identity : Symbol(identity, Decl(genericFunctionInference1.ts, 206, 13))
+>a2 : Symbol(a2, Decl(genericFunctionInference1.ts, 252, 5))
+>times : Symbol(times, Decl(genericFunctionInference1.ts, 247, 18))
+>identity : Symbol(identity, Decl(genericFunctionInference1.ts, 210, 13))
diff --git a/tests/baselines/reference/genericFunctionInference1.types b/tests/baselines/reference/genericFunctionInference1.types
index 1974fe17bea80..e9be19094bdba 100644
--- a/tests/baselines/reference/genericFunctionInference1.types
+++ b/tests/baselines/reference/genericFunctionInference1.types
@@ -587,6 +587,17 @@ const GenericComp2 = myHoc(GenericComp);
>myHoc : (C: CompClass
) => CompClass
>GenericComp : typeof GenericComp
+// #33139
+
+const l: number[] = list.call(undefined, 1);
+>l : number[]
+>list.call(undefined, 1) : number[]
+>list.call : (this: (this: T, ...args: A) => R, thisArg: T, ...args: A) => R
+>list : (a: T) => T[]
+>call : (this: (this: T, ...args: A) => R, thisArg: T, ...args: A) => R
+>undefined : undefined
+>1 : 1
+
// #417
function mirror(f: (a: A) => B): (a: A) => B { return f; }
diff --git a/tests/cases/compiler/genericFunctionInference1.ts b/tests/cases/compiler/genericFunctionInference1.ts
index c90c94cf5e874..bcee4cff90c08 100644
--- a/tests/cases/compiler/genericFunctionInference1.ts
+++ b/tests/cases/compiler/genericFunctionInference1.ts
@@ -112,6 +112,10 @@ declare class GenericComp extends Comp> {}
const GenericComp2 = myHoc(GenericComp);
+// #33139
+
+const l: number[] = list.call(undefined, 1);
+
// #417
function mirror(f: (a: A) => B): (a: A) => B { return f; }