diff --git a/es2panda/compiler/core/emitter/emitter.cpp b/es2panda/compiler/core/emitter/emitter.cpp index 9a3dde65413b33b545469f06d1b923dfea7abd1d..027200e901ebd46e2cf407732548292ce11320a5 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(); } }