Files
wren/test/closure/close_over_function_parameter.wren
2013-12-21 19:25:09 -08:00

10 lines
102 B
Plaintext

var f = null
fn(param) {
f = fn {
IO.write(param)
}
}.call("param")
f.call // expect: param