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 print anything on 'say (1,2,4...*)[10]' #1605
Comments
From @masak<masak> rakudo: say (1,2,4...*)[10] |
From @bbkrWorks on Kiev build, taken for tests. $ perl6 -e 'say (1,2,4...*)[10]' On Thu Mar 11 02:54:00 2010, masak wrote:
|
The RT System itself - Status changed from 'new' to 'open' |
From @bbkrS03-operators/series.t |
From @bbkrtests added in t/spec/S03-operators/series.t |
@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 2021f32086a7c9614250e3379da84239fa81c6a3 [t/spec] tests for RT #73508 Rakudo doesnt print anything on "say (1,2,4...*)[10]" Inline Patchdiff --git a/t/spec/S03-operators/series.t b/t/spec/S03-operators/series.t
index df19d2c..d3794c9 100644
--- a/t/spec/S03-operators/series.t
+++ b/t/spec/S03-operators/series.t
@@ -147,6 +147,10 @@ ok ?(one((-5 ... ^5).flat) == 0), '-5 ... ^5 produces just one zero';
isa_ok (1...()), Failure,
'empty list on right side of series operator does not cause infinite loop';
+# RT #73508
+is (1,2,4...*)[10], 1024,
+ 'element from list generated using infinite series is accessible by index';
+
done_testing;
# vim: ft=perl6 |
Migrated from rt.perl.org#73508 (status was 'resolved')
Searchable as RT73508$
The text was updated successfully, but these errors were encountered: