mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
9 lines
274 B
TypeScript
9 lines
274 B
TypeScript
//// [tests/cases/compiler/castFunctionExpressionShouldBeParenthesized.ts] ////
|
|
|
|
//// [castFunctionExpressionShouldBeParenthesized.ts]
|
|
(function a() { } as any)().foo()
|
|
|
|
//// [castFunctionExpressionShouldBeParenthesized.js]
|
|
"use strict";
|
|
(function a() { }().foo());
|