-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nil disappears in junction lists #3313
Comments
From mark@kli.org
True > all("a", "b") ~~ /a/ 「all("a", "b")」
> (all("a", "b") ~~ /a/).perl Match.new(orig => all("a", "b"), from => 0, to => 1, ast >
What's going on is that the failed match returns a Nil, which
|
From @timo
That's not quite right; the problem stems from the list iteration that happens to extract the slurpy arguments to the constructor of the junction; If we build a second constructor for junctions that takes a full array rather than slurpies, we can get around this problem even before the full list re-work is done. |
The RT System itself - Status changed from 'new' to 'open' |
From @usev6This works now: < bartolin> r: say all("a", "b") ~~ /a/ # RT #120992 I added a test to S03-junctions/misc.t with commit Raku/roast@50c2c6c8d9 I'm closing this ticket as 'resolved'. |
1 similar comment
From @usev6This works now: < bartolin> r: say all("a", "b") ~~ /a/ # RT #120992 I added a test to S03-junctions/misc.t with commit Raku/roast@50c2c6c8d9 I'm closing this ticket as 'resolved'. |
@usev6 - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#120992 (status was 'resolved')
Searchable as RT120992$
The text was updated successfully, but these errors were encountered: