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

9 lines
113 B
Plaintext

var f
for (i in [1, 2, 3]) {
var j = 4
f = Fn.new { System.print(i + j) }
continue
}
f.call()
// expect: 7