From 4f301523563e80e838490cc6216a16bb3b8d6122 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Mon, 26 May 2025 11:20:23 +0800 Subject: Fixed formatter. --- src/yuescript/yue_ast.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/yuescript/yue_ast.cpp b/src/yuescript/yue_ast.cpp index e69dd37..83e5985 100644 --- a/src/yuescript/yue_ast.cpp +++ b/src/yuescript/yue_ast.cpp @@ -420,7 +420,7 @@ std::string Switch_t::to_string(void* ud) const { auto info = reinterpret_cast(ud); str_list temp{"switch "s + target->to_string(ud)}; if (assignment) { - temp.back().append(" :"s + assignment->to_string(ud)); + temp.back().append(assignment->to_string(ud)); } info->pushScope(); for (auto branch : branches.objects()) { -- cgit v1.2.3-55-g6feb