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
$ 6 'dd <a b c>.grep: { FIRST say "first"; LAST say "last"; NEXT say "next"; ENTER say "enter"; LEAVE say "leave"; 1 }'
enter
leave
enter
leave
enter
leave
("a", "b", "c").Seq
This may have been a problem for a *long* time!
This should probably be fixed during the hyper / race refactor, which will need to take a look at using grep asynchronously anyway.
Note that currently there're two paths that can be taken that's affected by arity of the grep's block. So the tests should also test with blocks of arity 2+, like:
<Zoffix_> m: dd <a b c d>.grep: -> $, $ { FIRST say "first"; LAST say "last"; NEXT say "next"; ENTER say "enter"; LEAVE say "leave"; 1 }
<camelia> rakudo-moar b01d7e: OUTPUT: «enterleaveenterleave(("a", "b"), ("c", "d")).Seq»
Migrated from rt.perl.org#131060 (status was 'new')
Searchable as RT131060$
The text was updated successfully, but these errors were encountered: