aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/functiontype.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/functiontype.c')
-rw-r--r--src/stdlib/functiontype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdlib/functiontype.c b/src/stdlib/functiontype.c
index b02739a2..8c864611 100644
--- a/src/stdlib/functiontype.c
+++ b/src/stdlib/functiontype.c
@@ -82,7 +82,7 @@ public Text_t Func$as_text(const void *fn, bool colorize, const TypeInfo_t *type
OptionalText_t filename = get_function_filename(*(void**)fn);
int64_t line_num = get_function_line_num(*(void**)fn);
if (filename.length >= 0)
- text = Text$format("%k [%k:%ld]", &text, &filename, line_num);
+ text = Texts(text, Text(" ["), filename, Text$format(":%ld]", line_num));
}
if (fn && colorize)
text = Text$concat(Text("\x1b[32;1m"), text, Text("\x1b[m"));