Here's the test:
my $c;
ok 'abc' ~~ /.{ $c = $¢ }/, 'current match state';
#?rakudo todo 'Type of $¢ is Any instead of Cursor - RT #124998'
is $c.WHAT, Cursor.WHAT, 'got right type';
This might be a faulty test, however:
19:28 < [Coke]> m: my $c; 'abc' ~~ /.{ say $¢.WHAT }/ ;
19:28 < camelia> rakudo-moar f0abe8: OUTPUT«Nil»
If the $¢ assignment in there is Nil, then $c is *going* to default to Any.
--
Will "Coke" Coleda
