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
Any.reverse should flatten captures #2177
Comments
From @moritz50 < moritz_> rakudo: say ~(<a b>, <c d>).reverse should be 'd c b a', see Cheers, |
From @pmichaudNow fixed in 9e46fe0 -- assigning to moritz++ for spectest verification. Pm |
The RT System itself - Status changed from 'new' to 'open' |
@moritz - Status changed from 'open' to 'resolved' |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in S32-list/reverse.t commit 280ebdecb2c27f6e27a9c74140c91f461b95f10e test for RT #77914, .reverse shoudl flatten parcels Inline Patchdiff --git a/S32-list/reverse.t b/S32-list/reverse.t
index 02be857..783916b 100644
--- a/S32-list/reverse.t
+++ b/S32-list/reverse.t
@@ -3,13 +3,7 @@ use Test;
# L<S32::Containers/List/"=item reverse">
-=begin pod
-
-Basic test for the reverse() builtin with a string (Str).
-
-=end pod
-
-plan 21;
+plan 22;
@@ -104,4 +98,9 @@ is(@a, @e, "list was reversed");
is(@a[1], "foo", 'in place reversal works');
}
+# RT #77914
+{
+ is (<a b>, <c d>).reverse.join, 'dcba', '.reverse flattens parcels';
+}
+
# vim: ft=perl6 |
After the Great List Refactor, flattening should NOT take place. Raku/roast@20f2cd0fe8 changes test accordingly. |
Migrated from rt.perl.org#77914 (status was 'resolved')
Searchable as RT77914$
The text was updated successfully, but these errors were encountered: