From 82849ba783e2b8f8e3a040751cd964313470e7f2 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 3 Sep 2024 15:00:28 -0400 Subject: Use Text("...") literal constructor instead of Text$from_str("...") function call. --- builtins/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'builtins/memory.c') diff --git a/builtins/memory.c b/builtins/memory.c index 4e8e4c50..06fb7bb2 100644 --- a/builtins/memory.c +++ b/builtins/memory.c @@ -15,7 +15,7 @@ public Text_t Memory__as_text(const void *p, bool colorize, const TypeInfo *type) { (void)type; - if (!p) return Text$from_str("Memory"); + if (!p) return Text("Memory"); return Text$format(colorize ? "\x1b[0;34;1mMemory<%p>\x1b[m" : "Memory<%p>", p); } -- cgit v1.2.3