From 8fd13680a7b87dc1a9ba2119666f7b0e26bc62b5 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Wed, 11 Jun 2025 00:10:59 +0200 Subject: stdlib: Remove println varargs forwarding is platform specific with llvm, so we cannot easily have this function --- examples/5.src | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/5.src') diff --git a/examples/5.src b/examples/5.src index c397759..f6b2e62 100644 --- a/examples/5.src +++ b/examples/5.src @@ -6,15 +6,15 @@ let x = 18; let foo = () => i64 { let x = 1; - println("%d", x); + printf("%d\n", x); return x; }; let main = () => i64 { - println("%d", x); + printf("%d\n", x); let x = 2; let y = foo(); - println("%d", x); + printf("%d\n", x); return x + y; }; -- cgit 1.4.1