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
c3a6b7f29c3e8e71b7a61382936f42842c646568
wren/test/language/closure/close_over_method_parameter.wren
T

15 lines
174 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 F = null
feat: implement closures with upvalue support and statement/expression separation
2013-12-04 15:43:50 +00:00
class Foo {
fix: remove default constructors and require explicit construct new() for all user classes
2015-09-01 15:16:04 +00:00
construct new() {}
feat: implement closures with upvalue support and statement/expression separation
2013-12-04 15:43:50 +00:00
method(param) {
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
F = Fn.new {
feat: replace IO class with System class and remove separate IO module
2015-09-15 14:46:09 +00:00
System.print(param)
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("param")
feat: allow empty argument list methods in calls, definitions, and docs
2015-02-27 07:08:36 +00:00
F.call() // expect: param
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.27.2 Page: 114ms Template: 17ms
Dark
English
English
Licenses API