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

Miscounting of arguments going on in a case involving positional placeholder parameters in Rakudo #1614

Closed
p6rt opened this issue Mar 20, 2010 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Mar 20, 2010

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

Searchable as RT73688$

@p6rt
Copy link
Author

p6rt commented Mar 20, 2010

From @masak

<masak> rakudo​: { &^c("$^a, $^b") }.("morning", "perl6ers", &say)
<p6eval> rakudo 7ccf14​: OUTPUT«Not enough positional parameters
passed; got 3 but expected 4 [...]
<masak> jnthn​: help me with this one :) 4?
<masak> rakudo​: { &^c("$^a, $^b") }.("morning", "perl6ers", &say, &say)
<p6eval> rakudo 7ccf14​: OUTPUT«morning, say␤»
* masak submits rakudobug
<jnthn> masak​: erm....
* jnthn stares at the bug, horrified
* masak dances the rakudobug mambo
<colomon> is that related to the masochism tango?
<masak> colomon​: yes, but even more to the masakism tango. :)

@p6rt
Copy link
Author

p6rt commented Oct 11, 2011

From @coke

On Sat Mar 20 11​:00​:52 2010, masak wrote​:

<masak> rakudo​: { &^c("$^a, $^b") }.("morning", "perl6ers", &say)
<p6eval> rakudo 7ccf14​: OUTPUT«Not enough positional parameters
passed; got 3 but expected 4 [...]
<masak> jnthn​: help me with this one :) 4?
<masak> rakudo​: { &^c("$^a, $^b") }.("morning", "perl6ers", &say, &say)
<p6eval> rakudo 7ccf14​: OUTPUT«morning, say␤»
* masak submits rakudobug
<jnthn> masak​: erm....
* jnthn stares at the bug, horrified
* masak dances the rakudobug mambo
<colomon> is that related to the masochism tango?
<masak> colomon​: yes, but even more to the masakism tango. :)

Fixed​:

20​:21 < [Coke]> rakudo​: { &^c("$^a, $^b") }.("morning", "perl6ers", &say)
20​:21 <+p6eval> rakudo 38907e​: OUTPUT«morning, perl6ers␤»

Closable with tests.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Oct 11, 2011

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

@p6rt
Copy link
Author

p6rt commented Jan 13, 2012

From @moritz

Now tested in t/spec/S06-signature/positional-placeholders.t.

@p6rt
Copy link
Author

p6rt commented Jan 13, 2012

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant