Added types
This commit is contained in:
parent
cd1119add2
commit
83661c5e7a
33 changed files with 113 additions and 92 deletions
|
@ -2,11 +2,11 @@ main() {
|
|||
assert f(1) == 3
|
||||
}
|
||||
|
||||
f(x) {
|
||||
f(x Int) -> Int {
|
||||
y := g()
|
||||
return x + y
|
||||
}
|
||||
|
||||
g() {
|
||||
g() -> Int {
|
||||
return 2
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue