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

Binding Seq to Positional doesn't work with multi #4518

Closed
p6rt opened this issue Sep 5, 2015 · 4 comments
Closed

Binding Seq to Positional doesn't work with multi #4518

p6rt opened this issue Sep 5, 2015 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Sep 5, 2015

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

Searchable as RT126003$

@p6rt
Copy link
Author

p6rt commented Sep 5, 2015

From @TimToady

perl6-m -e 'multi sub foo(@​array) { say @​array }; foo("abc".comb)'
Cannot call foo(Seq); none of these signatures match​:
  (@​array)
  in block <unit> at -e​:1

perl6-m -e 'sub foo(@​array) { say @​array }; foo("abc".comb)'
(a b c)

@p6rt
Copy link
Author

p6rt commented Sep 7, 2015

From @jnthn

On Sat Sep 05 15​:31​:21 2015, larry wrote​:

perl6-m -e 'multi sub foo(@​array) { say @​array }; foo("abc".comb)'
Cannot call foo(Seq); none of these signatures match​:
(@​array)
in block <unit> at -e​:1

perl6-m -e 'sub foo(@​array) { say @​array }; foo("abc".comb)'
(a b c)

Fixed, and test added in S06-multi/type-based.t.

@p6rt
Copy link
Author

p6rt commented Sep 7, 2015

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Sep 7, 2015

@jnthn - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Sep 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant