Improved type system
This commit is contained in:
@ -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
|
||||
}
|
Reference in New Issue
Block a user