Improved type system
This commit is contained in:
parent
78f2670553
commit
6eab48c586
62 changed files with 189 additions and 172 deletions
|
@ -2,10 +2,10 @@ main() {
|
|||
assert f(2) == 6
|
||||
}
|
||||
|
||||
f(x Int) -> Int {
|
||||
f(x int) -> int {
|
||||
return x + 1 + g(x)
|
||||
}
|
||||
|
||||
g(x Int) -> Int {
|
||||
g(x int) -> int {
|
||||
return x + 1
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue