diff options
Diffstat (limited to 'test/parentheses.mnml')
-rw-r--r-- | test/parentheses.mnml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/parentheses.mnml b/test/parentheses.mnml index d18aee2..f321700 100644 --- a/test/parentheses.mnml +++ b/test/parentheses.mnml @@ -1,6 +1,7 @@ const main: function = (input: string): string { if ((input == "hello") or input == "bye") { - const bye: string = "bye" + const bye: string = "bye" + return bye } return input @@ -13,5 +14,7 @@ const main2: function = (input: string): string { const test2: string = ((main(input = "test") => main(input = $)) + "test2") - return main(input = "hello") + bye + return input + main(input = "hello") + bye + " " + test2 } + +main(input = "test") => main2(input = $) |