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
Rakudo doesn't parse @a[10] as a shaped array in a signature (but STD.pm6 does) #3218
Comments
From @masak<timotimo> r: sub test(@a[10]) { say +@a }; test((1, 2, 3, 4, 5, 6, 7, |
From @usev6Nowadays @a[10] in a signature is parsed as a shaped array (and gives a fitting error message since shape declaration is NYI): $ perl6 -e 'sub foo(@a[10]) { }' Should we add a test for this error message and close this ticket or should the ticket stay open until shape declaration is implemented? |
1 similar comment
From @usev6Nowadays @a[10] in a signature is parsed as a shaped array (and gives a fitting error message since shape declaration is NYI): $ perl6 -e 'sub foo(@a[10]) { }' Should we add a test for this error message and close this ticket or should the ticket stay open until shape declaration is implemented? |
@usev6 - Status changed from 'new' to 'open' |
From @jnthnOn Sat Jan 03 08:12:50 2015, bartolin@gmx.de wrote:
I implemented it and added tests in S06-signature/shape.t. /jnthn |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#119427 (status was 'resolved')
Searchable as RT119427$
The text was updated successfully, but these errors were encountered: