Afaict the bug is omission of an automatically added `-> $/` signature. One workaround is to manually add the missing piece:
for 1 { say "foo".subst: /(foo)/, -> $/ {$/[0] ~ "o"}; }
»ö« . o O ( "the celebrity tell-all of the Perl-6 cult?" )
In reply to Re^3: perl6 match variable
by raiph
in thread perl6 match variable
by jeckyhl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |