diff --git a/ts2panda/src/compiler.ts b/ts2panda/src/compiler.ts index 0bec2dbd129416d753eb78d4ef385ccc4a4272cc..5ad1fc05044da80118a45a02defea09347913a4b 100644 --- a/ts2panda/src/compiler.ts +++ b/ts2panda/src/compiler.ts @@ -938,6 +938,7 @@ export class Compiler { compileClassDeclaration(this, expr); break; case ts.SyntaxKind.PartiallyEmittedExpression: + this.compileExpression(findInnerExprOfParenthesis(expr)); break; case ts.SyntaxKind.CommaListExpression: compileCommaListExpression(this, expr);