summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_parser.cpp
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2021-10-07 15:40:48 +0200
committerkobewi <kobewi4e@gmail.com>2021-10-07 16:28:22 +0200
commit31012fd060117ff9ebdd3b2bf413f5904d2b9ebe (patch)
tree1f8bd214278ca7cc305eea79f44ee7f8893b7dbb /modules/gdscript/gdscript_parser.cpp
parent8afd2171d1f767c13a18b478b8fc8e6cb9df2157 (diff)
downloadredot-engine-31012fd060117ff9ebdd3b2bf413f5904d2b9ebe.tar.gz
Change print_line() to use any number of Variants
Diffstat (limited to 'modules/gdscript/gdscript_parser.cpp')
-rw-r--r--modules/gdscript/gdscript_parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp
index 93a5f7d493..ef3059e6aa 100644
--- a/modules/gdscript/gdscript_parser.cpp
+++ b/modules/gdscript/gdscript_parser.cpp
@@ -4496,7 +4496,7 @@ void GDScriptParser::TreePrinter::print_tree(const GDScriptParser &p_parser) {
}
print_class(p_parser.get_tree());
- print_line(printed);
+ print_line(String(printed));
}
#endif // DEBUG_ENABLED