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
1fd8308f503a1246f92ef1f56756c47071720827
wren
/
test
/
function
/
newline_body.wren
T
5 lines
61 B
Plaintext
Raw
Normal View
History
Unescape
Escape
feat: migrate all function literals from
fn
syntax to
new Fn
block syntax
2014-04-03 02:41:53 +00:00
var f = new Fn {
feat: unify block, function, and method body parsing to support single-expression implicit returns
2014-04-03 14:48:19 +00:00
// Hi.
feat: allow implicit null return when return statement has no value
2014-01-13 03:37:11 +00:00
}
IO.print(f.call) // expect: null
Reference in New Issue
Copy Permalink