Improved type system
This commit is contained in:
parent
78f2670553
commit
6eab48c586
62 changed files with 189 additions and 172 deletions
|
@ -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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue