This works now (output is identical on Moar, Parrot and JVM): $ perl6 -e 'my $a = 42; END { say $a }' 42
$ perl6 -e 'BEGIN { my $a = 42; END { say $a } }' 42 I added two tests to S04-phasers/end.t with commit https://github.com/perl6/roast/commit/958f3520e7 I'm closing this ticket now.