Improved type system
This commit is contained in:
@ -1 +1 @@
|
||||
f(a Int,) -> Int { return a }
|
||||
f(a int,) -> int { return a }
|
@ -1 +1 @@
|
||||
f(,a Int) {}
|
||||
f(,a int) {}
|
@ -2,6 +2,6 @@ main() {
|
||||
writeToMemory(42)
|
||||
}
|
||||
|
||||
writeToMemory(p *Any) {
|
||||
writeToMemory(p *any) {
|
||||
p[0] = 'A'
|
||||
}
|
@ -2,6 +2,6 @@ main() {
|
||||
x := 1 + f(x)
|
||||
}
|
||||
|
||||
f(x Int) -> Int {
|
||||
f(x int) -> int {
|
||||
return x
|
||||
}
|
Reference in New Issue
Block a user