From 4ef84e2fbc1f6af73c47abbb4a3ea221df129282 Mon Sep 17 00:00:00 2001 From: huangyu Date: Tue, 16 Aug 2022 23:31:28 +0800 Subject: [PATCH] Fix invalid bytecode of "variable" Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/I5MMFN Signed-off-by: huangyu Change-Id: Idb7a70647aaa697316842012ffe3121a12998fd8 --- ts2panda/src/compiler.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ts2panda/src/compiler.ts b/ts2panda/src/compiler.ts index 0bec2dbd12..5ad1fc0504 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); -- Gitee