diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2025-02-06 13:59:50 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2025-02-06 13:59:50 +0100 |
commit | 54b4040a8e46c4104e228264fa57b44d17e245c9 (patch) | |
tree | 938f077f1343ee018476bd1cf68924f9181143f1 /test/const-function-if.mnml | |
parent | 7667162a20ebdedac14de88260df018b961548d4 (diff) |
all current tests passing
Diffstat (limited to 'test/const-function-if.mnml')
-rw-r--r-- | test/const-function-if.mnml | 6 |
1 files changed, 3 insertions, 3 deletions
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 = $ + " ") |