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
a56c27747384d2293961649166ea32695096a5d4
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
}
}
refactor: replace Foo.new constructor syntax with new Foo and simplify superclass constructor calls
2013-12-19 15:02:27 +00:00
(new Foo).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: 91ms Template: 7ms
Dark
English
English
Licenses API