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
1d31c95872171689885238086383a9a9c7b4d83b
wren
/
test
/
closure
/
open_closure_in_method.wren
T
11 lines
122 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Get closures working!
2013-12-04 07:43:50 -08:00
{
var local = "local"
class Foo {
method {
Clean up text handling a bit:
2014-01-05 12:27:12 -08:00
IO.print(local)
Get closures working!
2013-12-04 07:43:50 -08:00
}
}
Use more conventional syntax for constructors.
2013-12-19 07:02:27 -08:00
(new Foo).method // expect: local
Get closures working!
2013-12-04 07:43:50 -08:00
}
Reference in New Issue
Copy Permalink