Implement array functions with just an expression body

This commit is contained in:
dcodeIO
2018-03-19 01:22:19 +01:00
parent 0fef69e445
commit 5323e64af9
6 changed files with 74 additions and 18 deletions

View File

@ -11,3 +11,6 @@ assert(f2(2) == 2);
var f3 = function someName(): void {
};
f3();
var f4 = (): i32 => 1;
assert(f4() == 1);