1
0
forked from Mirror/wren
Files
wren/test/language/continue/closure_in_while.wren
Alan Stagner 55b926410d Add continue statement (#822)
Note that documentation is still required.
2020-12-03 08:30:36 -08:00

10 lines
109 B
Plaintext

var f
while (f == null) {
var i = "i"
f = Fn.new { System.print(i) }
continue
}
f.call()
// expect: i