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
andthen doesn't return undefined LHS #5440
Comments
From @pmichaudPer S03, &infix:<andthen> should return the first argument indicating 18:00 <pmichaud> m: say (Int andthen 3) Per S03, the answer should be OUTPUT«(Int)». Pm |
From @salortizThe change was introduced by rakudo/rakudo@b527b31 I want to think that the change in (at that time) line 582 was a copy/paste error, 'cus the commit message talk about 'orelse'. And the subsequent change in roast simply a rush reaction. Any way, you are in a better position to discuss the issue with the author. |
The RT System itself - Status changed from 'new' to 'open' |
From @salortizFor the record, reverting to returning the first undefined value and not "Empty" produces the following fallout in roast: t/spec/S03-metaops/reduce.rakudo.moar (Wstat: 1024 Tests: 542 Failed: 4) |
From @zoffixznetOn Sat, 09 Jul 2016 11:03:04 -0700, pmichaud wrote:
FWIW, when I was fixing another bug, TimToady confirmed `andthen` returns an Empty by design, so that it works with list comprehensions: https://irclog.perlgeek.de/perl6-dev/2016-11-11#i_13550043 |
@zoffixznet - Status changed from 'open' to 'rejected' |
Migrated from rt.perl.org#128586 (status was 'rejected')
Searchable as RT128586$
The text was updated successfully, but these errors were encountered: