bind expression (:=) instead of let
This commit is contained in:
2
testdata/closures.monkey
vendored
2
testdata/closures.monkey
vendored
@@ -1,2 +1,2 @@
|
||||
let f = fn(x) { fn() { x + 1 } }
|
||||
f := fn(x) { fn() { x + 1 } }
|
||||
f(2)
|
||||
Reference in New Issue
Block a user