From 9d67b769b14ad708f902346c0d21cb120c21c0a1 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sun, 6 Jul 2025 18:17:47 +0200 Subject: Boostrap: Improve codegen for function declaration (starting to work on params) --- examples/-1.pry | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/-1.pry') diff --git a/examples/-1.pry b/examples/-1.pry index 5d7b65c..f5b7928 100644 --- a/examples/-1.pry +++ b/examples/-1.pry @@ -6,8 +6,8 @@ let test = () => i64 { return 2; }; -let main = () => i64 { - printf("HELLO WORLD!\n"); +let main = (argc: i64) => i64 { + printf("HELLO WORLD %d!\n", argc); return test(); }; -- cgit 1.4.1