You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
On Wed, 27 Jul 2016 12:29:11 -0700, coke wrote:
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.
This appears to be fixed; there's a test in roast (which I've re-added the RT # to), closing ticket.
--
Will "Coke" Coleda
Migrated from rt.perl.org#124998 (status was 'resolved')
Searchable as RT124998$
The text was updated successfully, but these errors were encountered: