Skip to content
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

.List no longer works on shaped arrays (my @a[2;2]; say @a.List) #5986

Closed
p6rt opened this issue Jan 5, 2017 · 5 comments
Closed

.List no longer works on shaped arrays (my @a[2;2]; say @a.List) #5986

p6rt opened this issue Jan 5, 2017 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Jan 5, 2017

Migrated from rt.perl.org#130513 (status was 'resolved')

Searchable as RT130513$

@p6rt
Copy link
Author

p6rt commented Jan 5, 2017

From @AlexDaniel

Code​:
my @​a[2;2]; say @​a.List

Result (2015.12,2016.06)​:
((Any) (Any) (Any) (Any))

Result (2016.07.1,HEAD)​:
Cannot access 2 dimension array with 1 indices
  in block <unit> at /tmp/8Bs1nJFDSo line 1

Bisectable points to rakudo/rakudo@e990823

Maybe it is not supposed to work, but the commit message does not mention that. Therefore I am assuming that the change was unintentional.

@p6rt
Copy link
Author

p6rt commented Jan 5, 2017

From @lizmat

Fixed with 8568dd1, tests needed

On 5 Jan 2017, at 05​:35, Aleks-Daniel Jakimenko-Aleksejev (via RT) <perl6-bugs-followup@​perl.org> wrote​:

# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string​: [perl #​130513]
# in the subject line of all future correspondence about this issue.
# <URL​: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=130513 >

Code​:
my @​a[2;2]; say @​a.List

Result (2015.12,2016.06)​:
((Any) (Any) (Any) (Any))

Result (2016.07.1,HEAD)​:
Cannot access 2 dimension array with 1 indices
in block <unit> at /tmp/8Bs1nJFDSo line 1

Bisectable points to rakudo/rakudo@e990823

Maybe it is not supposed to work, but the commit message does not mention that. Therefore I am assuming that the change was unintentional.

@p6rt
Copy link
Author

p6rt commented Jan 5, 2017

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Jan 19, 2017

From @zoffixznet

Tests in Raku/roast@1c61263ca4

@p6rt
Copy link
Author

p6rt commented Jan 19, 2017

@zoffixznet - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Jan 19, 2017
@p6rt p6rt added the testneeded label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant