From 7e5ac307a6ef2f17f3905c9781eb654ee5c4ef99 Mon Sep 17 00:00:00 2001 From: yp9522 Date: Fri, 5 Sep 2025 14:06:14 +0800 Subject: [PATCH 1/2] delete Signed-off-by: yp9522 --- ets2panda/lsp/src/node_matchers.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/ets2panda/lsp/src/node_matchers.cpp b/ets2panda/lsp/src/node_matchers.cpp index 33ce4f1c86..38d5f2c61a 100644 --- a/ets2panda/lsp/src/node_matchers.cpp +++ b/ets2panda/lsp/src/node_matchers.cpp @@ -827,7 +827,6 @@ const std::unordered_map &GetNodeInfoHandlers( {ir::AstNodeType::CALL_EXPRESSION, HandleCallExpression}, {ir::AstNodeType::ANNOTATION_DECLARATION, HandleAnnotationDeclaration}, {ir::AstNodeType::AWAIT_EXPRESSION, HandleAwitExpression}, - {ir::AstNodeType::ANNOTATION_USAGE, HandleAnnotationUsage}}; return NODE_INFO_HANDLERS; } } // namespace ark::es2panda::lsp \ No newline at end of file -- Gitee From c1415ab61e403557eae9c750eba961c1e27510b9 Mon Sep 17 00:00:00 2001 From: yp9522 Date: Fri, 5 Sep 2025 14:13:12 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=81=A2=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yp9522 --- ets2panda/lsp/src/node_matchers.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ets2panda/lsp/src/node_matchers.cpp b/ets2panda/lsp/src/node_matchers.cpp index 38d5f2c61a..33ce4f1c86 100644 --- a/ets2panda/lsp/src/node_matchers.cpp +++ b/ets2panda/lsp/src/node_matchers.cpp @@ -827,6 +827,7 @@ const std::unordered_map &GetNodeInfoHandlers( {ir::AstNodeType::CALL_EXPRESSION, HandleCallExpression}, {ir::AstNodeType::ANNOTATION_DECLARATION, HandleAnnotationDeclaration}, {ir::AstNodeType::AWAIT_EXPRESSION, HandleAwitExpression}, + {ir::AstNodeType::ANNOTATION_USAGE, HandleAnnotationUsage}}; return NODE_INFO_HANDLERS; } } // namespace ark::es2panda::lsp \ No newline at end of file -- Gitee