Added types

This commit is contained in:
Eduard Urbach 2024-08-05 18:47:24 +02:00
parent cd1119add2
commit 83661c5e7a
No known key found for this signature in database
GPG key ID: C874F672B1AF20C0
33 changed files with 113 additions and 92 deletions

View file

@ -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
}