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
Cannot do .perl on the result of an infix:<...> in Rakudo #1519
Comments
From @masak<masak> rakudo: say (4...^5).perl |
From @bbkrOn Kiev build: $ perl6 -e 'say (4...^5).perl' I'm not sure if first output is correct - ".perl" method is not well Should this be tested & closed? |
The RT System itself - Status changed from 'new' to 'open' |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in t/spec/S03-operators/series.t commit 02c2905585bc62ddfe266ef55ae019af0ce646fe [t/spec] tests for RT #72912, .perl on result of series operator Inline Patchdiff --git a/t/spec/S03-operators/series.t b/t/spec/S03-operators/series.t
index 4857333..c3c6c83 100644
--- a/t/spec/S03-operators/series.t
+++ b/t/spec/S03-operators/series.t
@@ -155,6 +155,10 @@ is (1,2,4...*)[10], 1024,
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';
+lives_ok { (1 ... 5).perl }, 'Can take .perl of series';
+is eval((1 ... 5).perl).join(','), '1,2,3,4,5',
+ 'eval($series.perl) reproduces result list';
+
done_testing;
# vim: ft=perl6 |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#72912 (status was 'resolved')
Searchable as RT72912$
The text was updated successfully, but these errors were encountered: