From e97da06334b54c423ab7ceeba6e922ae4e5ce57b Mon Sep 17 00:00:00 2001 From: fangxiao Date: Mon, 1 Sep 2025 10:36:26 +0800 Subject: [PATCH] Fix the es2panda crash issue Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/ICVOAH Signed-off-by: fangxiao Change-Id: I954d98d5912c01bf1daa7d52ea24dd12390e6d7d --- ets2panda/checker/ets/typeCheckingHelpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ets2panda/checker/ets/typeCheckingHelpers.cpp b/ets2panda/checker/ets/typeCheckingHelpers.cpp index cd193f4523..f10d87f17c 100644 --- a/ets2panda/checker/ets/typeCheckingHelpers.cpp +++ b/ets2panda/checker/ets/typeCheckingHelpers.cpp @@ -717,7 +717,7 @@ Type *ETSChecker::GuaranteedTypeForUncheckedPropertyAccess(varbinder::Variable * case ir::AstNodeType::TS_ENUM_DECLARATION: return nullptr; default: - ES2PANDA_UNREACHABLE(); + return nullptr; } } -- Gitee