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
sort method returns an empty sequence when looking a Nth-indexed value of the given element of the sequence #6209
Comments
From @titsukiSee the following result: $ perl6 -e '["1:0.470572470261861", "2:0.579981821025709"]>>.split(":", :skip-empty).sort({ I think if sort method cannot look (i.e. consume) a Nth-indexed value (e.g. $ perl6 --version |
From @zoffixznetOn Fri, 28 Apr 2017 09:36:52 -0700, cookbook_000@yahoo.co.jp wrote:
Thank you for the report. This is now fixed. The Seqs aren't actually consumed; it was a bug in .perl wrongly saying they're consumed. Fix: rakudo/rakudo@54f50956ad |
The RT System itself - Status changed from 'new' to 'open' |
@zoffixznet - Status changed from 'open' to 'resolved' |
From @titsukiOn Fri, 28 Apr 2017 10:40:49 -0700, cpan@zoffix.com wrote:
Thanks for fixing a bug. However, if leaving out a .perl calling, the following example also cause the issue in my environment: $ perl6 -e 'for ["1:0.470572470261861", "2:0.579981821025709"]>>.split(":", :skip-empty).sort({ $ perl6 --version |
From @titsukiOn Fri, 28 Apr 2017 11:41:36 -0700, cookbook_000@yahoo.co.jp wrote:
Sorry, please forget the above my post. $ perl6 -e 'for ((1, 2).Seq, (3, 4).Seq) -> ($k,$v) { ($k,$v).say; }' |
From @zoffixznetOn Fri, 28 Apr 2017 11:55:40 -0700, cookbook_000@yahoo.co.jp wrote:
Thanks. That's fixed now as well. Fix: rakudo/rakudo@98e137b1fe |
Migrated from rt.perl.org#131222 (status was 'resolved')
Searchable as RT131222$
The text was updated successfully, but these errors were encountered: