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
Internals leaking out with series operator used wrongly #3118
Comments
From @tadzikThis should fail in a much gentler fasion. In REPL it is quite sensible:
But outside of the REPL it fails in a horrifying way: $ perl6 -e 'say (^1, *+* ... *)[^20]' thrown from: |
From @usev6This looks better now. Since it currently dies with X::AdHoc and backend specific messages it would be nice to have a typed exception for tests. $ perl6-m -e 'say (^1, *+* ... *)[^20]' $ perl6-p -e 'say (^1, *+* ... *)[^20]' $ perl6-j -e 'say (^1, *+* ... *)[^20]' |
@usev6 - Status changed from 'new' to 'open' |
From @usev6The behaviour didn't change since October. But when I tried to wirte a test (matching the backend specific error messages) I got a strange failure with Parrot: $ PERL6LIB=lib perl6-p -e 'use Test; throws_like {(^1, *+* ... *)[^20]}, Exception, message => { m/"Not enough positional parameters passed; got 1 but expected 2"/ }' $ ./perl6-p -e '(^1, *+* ... *)[^20]' I'll add a similiar test to S03-sequence/arity-2-or-more.t nevertheless (skipped for Parrot). |
1 similar comment
From @usev6The behaviour didn't change since October. But when I tried to wirte a test (matching the backend specific error messages) I got a strange failure with Parrot: $ PERL6LIB=lib perl6-p -e 'use Test; throws_like {(^1, *+* ... *)[^20]}, Exception, message => { m/"Not enough positional parameters passed; got 1 but expected 2"/ }' $ ./perl6-p -e '(^1, *+* ... *)[^20]' I'll add a similiar test to S03-sequence/arity-2-or-more.t nevertheless (skipped for Parrot). |
From @usev6This ticket was still open because the test in S03-sequence/arity-2-or-more.t didn't pass for Parrot. Since support for Parrot was suspended with Rakudo Star Release 2015.02, I'm closing this ticket as 'resolved'. I'll add the ticket to a list of closed ticket living in the mu repository: https://github.com/perl6/mu/blob/master/misc/rt.perl.org/tickets_closed_parrot_only.txt. In case support for Parrot will be restored in some future release the listed tickets can be checked and re-opened as appropriate. |
1 similar comment
From @usev6This ticket was still open because the test in S03-sequence/arity-2-or-more.t didn't pass for Parrot. Since support for Parrot was suspended with Rakudo Star Release 2015.02, I'm closing this ticket as 'resolved'. I'll add the ticket to a list of closed ticket living in the mu repository: https://github.com/perl6/mu/blob/master/misc/rt.perl.org/tickets_closed_parrot_only.txt. In case support for Parrot will be restored in some future release the listed tickets can be checked and re-opened as appropriate. |
@usev6 - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#117825 (status was 'resolved')
Searchable as RT117825$
The text was updated successfully, but these errors were encountered: