Improved type system
This commit is contained in:
@ -2,11 +2,11 @@ main() {
|
||||
assert f(1) == 3
|
||||
}
|
||||
|
||||
f(x Int) -> Int {
|
||||
f(x int) -> int {
|
||||
y := g()
|
||||
return x + y
|
||||
}
|
||||
|
||||
g() -> Int {
|
||||
g() -> int {
|
||||
return 2
|
||||
}
|
Reference in New Issue
Block a user