This works now as expected:

$ ./perl6-j -e 'my \T = ($_ for ^1); say T'
(0)

ยง ./perl6-j -e 'my \T = ($_ for ^2); say T'
(0 1)

$ ./perl6-j -e 'say ($_ for ^2)'
(0 1)

I added two tests to S04-statements/for.t with commit 
https://github.com/perl6/roast/commit/fc9a4a8523

I'm closing this ticket as 'resolved'.

Reply via email to