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, 2, 3) == 21
|
||||
}
|
||||
|
||||
f(x, y, z) {
|
||||
f(x Int, y Int, z Int) -> Int {
|
||||
w := g(4, 5, 6)
|
||||
return x + y + z + w
|
||||
}
|
||||
|
||||
g(x, y, z) {
|
||||
g(x Int, y Int, z Int) -> Int {
|
||||
return x + y + z
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue