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
Rakudo doesn't treat ^$n at the end of an infix:<...> right #1520
Comments
From @masak<masak> rakudo: my @a = (4...^5); say @a.perl # should be 4 3 2 1 0 1 |
From @bbkrworks on Kiev build $ perl6 -e 'my @a = (4...^5); say @a.perl' adding tests... |
The RT System itself - Status changed from 'new' to 'open' |
From @bbkrS03-operators/series.t |
From @bbkrtest added. note: there are some other fudged tests with ^ series exclusion in test |
@bbkr - Status changed from 'open' to 'resolved' |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in t/spec/S03-operators/series.t commit c68e9b9b2138222022e62957834a357d69bb9217 [t/spec] tests for RT #72914 Rakudo doesnt treat ^$n at the end of an infix:<...> Inline Patchdiff --git a/t/spec/S03-operators/series.t b/t/spec/S03-operators/series.t
index d3794c9..4857333 100644
--- a/t/spec/S03-operators/series.t
+++ b/t/spec/S03-operators/series.t
@@ -151,6 +151,10 @@ isa_ok (1...()), Failure,
is (1,2,4...*)[10], 1024,
'element from list generated using infinite series is accessible by index';
+# RT #72914
+is (4...^5).join(', '), '4, 3, 2, 1, 0, 1, 2, 3, 4',
+ 'geometric series started in one direction and continues in the other with exclusion';
+
done_testing;
# vim: ft=perl6 |
Migrated from rt.perl.org#72914 (status was 'resolved')
Searchable as RT72914$
The text was updated successfully, but these errors were encountered: