Closed
Description
Input
(function a() { } as any)().foo()
Expected
(function a() { }().foo)();
Actual
function a() { }().foo();
Notice that this produces an un-parenthesized function expression.
Potentially addressable by work in #18300.
Input
(function a() { } as any)().foo()
Expected
(function a() { }().foo)();
Actual
function a() { }().foo();
Notice that this produces an un-parenthesized function expression.
Potentially addressable by work in #18300.