This works now:
$ perl6-m -e 'say sub { 5 }()'
5
$ perl6-m -e 'sub ($t) { say $t }("arf")'
arf
I added tests to S02-lexical-conventions/sub-block-parsing.t with the following
commit: https://github.com/perl6/roast/commit/09ff5366a3
Christian Bartolomaeus via RT Tue, 14 Oct 2014 03:52:27 -0700
This works now:
$ perl6-m -e 'say sub { 5 }()'
5
$ perl6-m -e 'sub ($t) { say $t }("arf")'
arf
I added tests to S02-lexical-conventions/sub-block-parsing.t with the following
commit: https://github.com/perl6/roast/commit/09ff5366a3