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
S02-types/array-shapes.t line:7 reason: 'array shapes' #3842
Comments
From @usev6Maybe this should be merged into https://rt-archive.perl.org/perl6/Ticket/Display.html?id=75002? |
From @usev6Most of the tests in S02-types/array-shapes.t pass now (unfudged/adjusted with commit Raku/roast@4a5edf73db). Maybe the other tests should be reviewed? |
1 similar comment
From @usev6Most of the tests in S02-types/array-shapes.t pass now (unfudged/adjusted with commit Raku/roast@4a5edf73db). Maybe the other tests should be reviewed? |
@usev6 - Status changed from 'new' to 'open' |
From @usev6On Sat, 21 Nov 2015 01:18:15 -0800, bartolin@gmx.de wrote:
For the record: These are the two remaining tests fudged with this ticket number ('todo'): $ ./perl6-m -e 'use Test; throws-like q[my @arr.[8]], Exception, "array with dot form dies"' $ $ ./perl6-m -e 'use Test; throws-like q[my @arr\ .[8]], Exception, "array with dot form and unspace dies"' |
I took a closer look at the two still failing tests today and I think they are wrong. The tests were added to cover I wasn't able to track the synopsis document back to 2008-07, but on 2008-11-26 the relevant text looked like this (cmp. https://github.com/Raku/old-design-docs/blob/68d062fcaa/S09.pod?plain=1#L191-L195):
Only in 2010-09 the following clarification was done: Raku/old-design-docs@e8527c2291
And it looks like the code from the two tests indeed just does an indexing operation (calling
Those are not shaped arrays at all. I'll make a PR for roast to adjust the tests. |
I've merged the mentioned PR, so I'll close this issue as "resolved". |
Migrated from rt.perl.org#124502 (status was 'open')
Searchable as RT124502$
The text was updated successfully, but these errors were encountered: