This website requires JavaScript.
Explore
Help
Register
Sign In
retoor
/
wren
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
30ccadd8966781332120ca8eb37b9758f090273e
wren
/
test
/
language
/
break
/
closure_in_while.wren
T
10 lines
97 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Fix scoping and break statements.
2014-01-06 08:01:04 -08:00
var f
while (true) {
var i = "i"
Convert all fns to block arg syntax.
2014-04-02 19:41:53 -07:00
f = new Fn { IO.print(i) }
Fix scoping and break statements.
2014-01-06 08:01:04 -08:00
break
}
Allow empty argument list methods.
2015-02-26 23:08:36 -08:00
f.call()
Fix scoping and break statements.
2014-01-06 08:01:04 -08:00
// expect: i
Reference in New Issue
Copy Permalink