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
3506a39e2705c5e1513c2c9173f673c51a268371
wren
/
test
/
variable
/
scope_reuse_in_different_blocks.wren
T
10 lines
109 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Start getting block scope working.
2013-11-18 09:19:03 -08:00
{
var a = "first"
Make IO a static class instead of a singleton.
2013-12-21 19:25:09 -08:00
IO.write(a) // expect: first
Start getting block scope working.
2013-11-18 09:19:03 -08:00
}
{
var a = "second"
Make IO a static class instead of a singleton.
2013-12-21 19:25:09 -08:00
IO.write(a) // expect: second
Start getting block scope working.
2013-11-18 09:19:03 -08:00
}
Reference in New Issue
Copy Permalink