From d81420027328f5a83d4334cfae935c217343ade4 Mon Sep 17 00:00:00 2001 From: gavin1012_hw Date: Mon, 5 Dec 2022 10:41:07 +0800 Subject: [PATCH] Fix whole-line source-code in abc file Issue:I64KFD Signed-off-by: gavin1012_hw Change-Id: I890a8781794d8cff15d64b820297474a8fdba580 --- es2panda/compiler/core/emitter/emitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es2panda/compiler/core/emitter/emitter.cpp b/es2panda/compiler/core/emitter/emitter.cpp index 9a3dde6541..027200e901 100644 --- a/es2panda/compiler/core/emitter/emitter.cpp +++ b/es2panda/compiler/core/emitter/emitter.cpp @@ -230,7 +230,7 @@ void FunctionEmitter::GenSourceFileDebugInfo() } if (pg_->RootNode()->IsProgram()) { - func_->source_code = SourceCode().EscapeSymbol(); + func_->source_code = SourceCode().Mutf8(); } } -- Gitee