From 31834697355b02701645aa99d7a03f5832a99824 Mon Sep 17 00:00:00 2001 From: jiangkaiwen Date: Mon, 26 Jun 2023 17:27:10 +0800 Subject: [PATCH] Fix codecheck warnings of the master branch Issue:I7G5B6 Signed-off-by: jiangkaiwen Change-Id: I0d43dcbe4b135028663d77fb8bb7c82a679f8dd5 --- es2panda/binder/binder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es2panda/binder/binder.cpp b/es2panda/binder/binder.cpp index 53475854ca..5727dd0a36 100644 --- a/es2panda/binder/binder.cpp +++ b/es2panda/binder/binder.cpp @@ -648,7 +648,7 @@ void Binder::ResolveReference(const ir::AstNode *parent, ir::AstNode *childNode) case ir::AstNodeType::SCRIPT_FUNCTION: { auto *scriptFunc = childNode->AsScriptFunction(); util::Helpers::ScanDirectives(const_cast(scriptFunc), - Program()->GetLineIndex()); + Program()->GetLineIndex()); auto *funcScope = scriptFunc->Scope(); auto *outerScope = scope_; -- Gitee