I added two tests (for parsing s; and m;) to S02-names-vars/names.t with
the following commit: https://github.com/perl6/roast/commit/9cafef7ce7
As I understand this bug report, the problem was this:
doy r: sub s () { given 9 { return 0 when $_ %% 3; 1 } }; say s;
p6eval rakudo c8de2e: OUTPUT«0»
As the subject says the s; was parsed as a subroutine call by Rakudo. Back in
2012 the bug could have been shown a bit shorter:
$ perl6 -e
On Mon Mar 11 12:40:13 2013, jn...@jnthn.net wrote:
On Sun Dec 23 14:29:06 2012, masak wrote:
doy r: sub s () { given 9 { return 0 when $_ %% 3; 1 } }; say s
p6eval rakudo c8de2e: OUTPUT«===SORRY!===Null regex not allowed
[...]
doy r: sub s () { given 9 { return 0 when $_ %% 3; 1 } };
# New Ticket Created by Carl Mäsak
# Please include the string: [perl #116182]
# in the subject line of all future correspondence about this issue.
# URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=116182
doy r: sub s () { given 9 { return 0 when $_ %% 3; 1 } }; say s
p6eval rakudo