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

Too few positionals passed to '' (for [:a] X [:b] -> ($i, $j) { }) #6609

Closed
p6rt opened this issue Oct 14, 2017 · 6 comments
Closed

Too few positionals passed to '' (for [:a] X [:b] -> ($i, $j) { }) #6609

p6rt opened this issue Oct 14, 2017 · 6 comments
Labels
LTA Less Than Awesome; typically an error message that could be better

Comments

@p6rt
Copy link

p6rt commented Oct 14, 2017

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

Searchable as RT132291$

@p6rt
Copy link
Author

p6rt commented Oct 14, 2017

From @AlexDaniel

Code​:
for [​:a] X [​:b] -> ($i, $j) { }

Result​:
Too few positionals passed to ''; expected 2 arguments but got 0 in sub-signature
  in block <unit> at -e line 1

Passed to what?

FWIW this is not a regression. Previously it was saying “Too few positionals passed; expected 2 arguments but got 0 in sub-signature” which is not any better.

@p6rt
Copy link
Author

p6rt commented Oct 14, 2017

From @AlexDaniel

Oh, but maybe it's worth mentioning that the name was added in this commit​: rakudo/rakudo@7783fca

On 2017-10-13 20​:13​:01, alex.jakimenko@​gmail.com wrote​:

Code​:
for [​:a] X [​:b] -> ($i, $j) { }

Result​:
Too few positionals passed to ''; expected 2 arguments but got 0 in
sub-signature
in block <unit> at -e line 1

Passed to what?

FWIW this is not a regression. Previously it was saying “Too few
positionals passed; expected 2 arguments but got 0 in sub-signature”
which is not any better.

@p6rt
Copy link
Author

p6rt commented Nov 3, 2017

From @zoffixznet

Tests​: rakudo/rakudo@32412170b3

@p6rt p6rt closed this as completed Nov 3, 2017
@p6rt
Copy link
Author

p6rt commented Nov 3, 2017

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

@p6rt
Copy link
Author

p6rt commented Nov 3, 2017

From @MasterDuke17

Fixed in rakudo/rakudo@084078e

Test added in rakudo/rakudo@cd9f66eff5

@p6rt
Copy link
Author

p6rt commented Nov 3, 2017

From @AlexDaniel

Yeah. Fixed in rakudo/rakudo@084078e.

On 2017-11-03 11​:08​:50, cpan@​zoffix.com wrote​: > Tests​: rakudo/rakudo@32412170b3

@p6rt p6rt added the LTA Less Than Awesome; typically an error message that could be better label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTA Less Than Awesome; typically an error message that could be better
Projects
None yet
Development

No branches or pull requests

1 participant