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
Nested slices do not work when adverbs are present #6233
Comments
From @zoffixznetYou can give a nested slice as a list and get the result similarly nested, however, this fails when you add any(?) adverbs and you only get results for top-level indexes: m: dd ("a".."z")[(3, (4, (5,)))] m: dd ("a".."z").Hash{('a', ('m', ('s')))} m: dd ("a".."z").Hash{('a', ('m', ('s')), 'u')}:p |
It turns out that nested array slices were broken, i.e. using them returned the wrong results. This was reported in Raku/old-issue-tracker#6233 During lizmat++ work to improve array slices it also turned out that there were no tests in roast for the above reported issue. This PR rectifies this omission.
It turns out that nested array slices were broken, i.e. using them returned the wrong results. This was reported in Raku/old-issue-tracker#6233 During lizmat++ work to improve array slices it also turned out that there were no tests in roast for the above reported issue. This PR rectifies this omission.
Migrated from rt.perl.org#131280 (status was 'new')
Searchable as RT131280$
The text was updated successfully, but these errors were encountered: