Logo
Explore Help
Register Sign In
retoor/wren
Watch 1
Star 0
Fork 0
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
66c6987270e8281005cffca84a6e5af578032500
wren/test/language/nonlocal/use_in_method.wren
T

15 lines
192 B
Plaintext
Raw Normal View History

feat: stop closure upvalue search at method boundaries and treat capitalized names as globals
2015-01-14 05:36:42 +00:00
var Global = "global"
feat: implement closures with upvalue support and statement/expression separation
2013-12-04 15:43:50 +00:00
class Foo {
method {
feat: stop closure upvalue search at method boundaries and treat capitalized names as globals
2015-01-14 05:36:42 +00:00
IO.print(Global)
feat: implement closures with upvalue support and statement/expression separation
2013-12-04 15:43:50 +00:00
}
static classMethod {
feat: stop closure upvalue search at method boundaries and treat capitalized names as globals
2015-01-14 05:36:42 +00:00
IO.print(Global)
feat: implement closures with upvalue support and statement/expression separation
2013-12-04 15:43:50 +00:00
}
}
feat: replace new keyword with this constructor syntax and ClassName.new() calls across core library and docs
2015-07-10 16:18:22 +00:00
Foo.new().method // expect: global
feat: implement closures with upvalue support and statement/expression separation
2013-12-04 15:43:50 +00:00
Foo.classMethod // expect: global
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.27.2 Page: 50ms Template: 4ms
Dark
English
English
Licenses API