Improved type system

This commit is contained in:
2025-02-17 14:31:47 +01:00
parent 3550f9e24e
commit b8e37fafae
62 changed files with 189 additions and 172 deletions

View File

@ -2,11 +2,11 @@ main() {
assert f(1, 2, 3) == 21
}
f(x Int, y Int, z Int) -> Int {
f(x int, y int, z int) -> int {
w := g(4, 5, 6)
return x + y + z + w
}
g(x Int, y Int, z Int) -> Int {
g(x int, y int, z int) -> int {
return x + y + z
}