From 54b4040a8e46c4104e228264fa57b44d17e245c9 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Thu, 6 Feb 2025 13:59:50 +0100 Subject: all current tests passing --- test/const-function-if.mnml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/const-function-if.mnml') diff --git a/test/const-function-if.mnml b/test/const-function-if.mnml index 2b62f8e..7b71b8c 100644 --- a/test/const-function-if.mnml +++ b/test/const-function-if.mnml @@ -1,7 +1,7 @@ const main: function = (input: string): string { if (input == "hello") { const bye: string = "bye" - return input + bye + return input + " " + bye } return input @@ -10,7 +10,7 @@ const main: function = (input: string): string { const main2: function = (input: string): string { const bye: string = main(input = "bye") - return main(input = "hello") + return input + main(input = "hello") } -main(input = "hello") +main(input = "hello") => main2(input = $ + " ") -- cgit v1.2.3