1
0
forked from Mirror/wren
Files
wren/test/return/after_while.wren
Bob Nystrom 1e0401bfc1 Allow statement bodies for flow control.
This means this works now:

  if (foo) return bar
2013-12-24 10:27:48 -08:00

4 lines
63 B
Plaintext

IO.write(fn {
while (true) return "ok"
}.call) // expect: ok