Start work on WASM compatibility, lambda fix

This commit is contained in:
2026-03-06 09:24:16 +11:00
parent 00ef8a7d56
commit 41a2fa53c6
4 changed files with 122 additions and 25 deletions

View File

@@ -1,9 +1,9 @@
def createClosure(int x) fun(int) int {
return lambda(int y) int {
x + y
return x + y
}
}
myVar = createClosure(5)
puts myVar(3)
puts myVar(3)