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
"Too many positionals" error could use info about method/invocant #6275
Comments
From @briandfoyI have this program: #!/Applications/Rakudo/bin/perl6 use Test; When I run it, it complains about too many parameters: $ prove -e 'perl6 -Ilib' t/bail.t t/bail.t .. Dubious, test returned 1 (wstat 256, 0x100) Test Summary Report This is the section causing the problem: 256 sub bail-out ($desc?) is export { I made several changes to try to suss out the problem, but I couldn't Running without `prove` shows the same problem: $ perl6 t/bail.t Running it in https://glot.io/new/perl6 shows the same thing. Besides the actual error, the error message isn't great. I would have This is: $ perl6 -v |
From @lizmatFixed with cb82760625f6b8fec64a75 , tests needed.
|
The RT System itself - Status changed from 'new' to 'open' |
From @zoffixznetOn Wed, 31 May 2017 02:45:07 -0700, elizabeth wrote:
Tests added: Raku/roast@83e984a190
I'll ping MasterDuke about this. Perhaps the same improvement that was recently done to :D method calls can be applied here. Renaming the ticket to point out that problem. |
From @MasterDuke17The error now includes the name of the routine. Implemented (with some tests) in rakudo/rakudo#1093 |
@MasterDuke17 - Status changed from 'open' to 'resolved' |
This is a port of 7783fca and fixes Raku/old-issue-tracker#6275 for the JVM backend.
This is a port of 7783fca and fixes Raku/old-issue-tracker#6275 for the JVM backend.
Migrated from rt.perl.org#131408 (status was 'resolved')
Searchable as RT131408$
The text was updated successfully, but these errors were encountered: