Fixed with c78f5dc7df5b1398d2867 , tests needed.

> On 19 Sep 2016, at 00:46, Aleks-Daniel Jakimenko-Aleksejev (via RT) 
> <perl6-bugs-follo...@perl.org> wrote:
> 
> # New Ticket Created by  Aleks-Daniel Jakimenko-Aleksejev 
> # Please include the string:  [perl #129304]
> # in the subject line of all future correspondence about this issue. 
> # <URL: https://rt.perl.org/Ticket/Display.html?id=129304 >
> 
> 
> Differences between 2015.12 and HEAD:
> 
> <AlexDaniel> committable6: 2015.12,HEAD <a b c d b e>.first(‘b’|‘a’).say
> <committable6> AlexDaniel, ¦«2015.12»: a␤¦«HEAD»: any(b, a)
> 
> <AlexDaniel> committable6: 2015.12,HEAD <a b c d b e>.first(‘b’|‘a’, :end).say
> <committable6> AlexDaniel, ¦«2015.12»: b␤¦«HEAD»: any(b, a)
> 
> 
> In other words, .first used to return the first element even if you pass a
> junction as a parameter. Now it returns another junction.
> 
> Bisectable points to this commit:
> https://github.com/rakudo/rakudo/commit/157b46e
> 
> <timotimo> we're really hoping to use a matcher there, i think
> <masak> .grep uses a matcher, and so .first ought to also
> 
> IRC discussion originates here:
> http://irclog.perlgeek.de/perl6/2016-09-18#i_13233528
> But useful comments start here:
> http://irclog.perlgeek.de/perl6/2016-09-18#i_13233576

Reply via email to