Fixed unary negation bug, removed newline from print

This commit is contained in:
2023-02-10 18:38:25 +00:00
parent 53012dbce1
commit aeb008c684
11 changed files with 96 additions and 25 deletions

View File

@@ -17,5 +17,5 @@ fn fib(n : int) {
for (var i = 0; i < 40; i++) {
var res = fib(i);
print string i + ": " + string res;
print string i + ": " + string res + "\n";
}