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

Call with only named parameters has auto-threading issues #1365

Closed
p6rt opened this issue Oct 17, 2009 · 5 comments
Closed

Call with only named parameters has auto-threading issues #1365

p6rt opened this issue Oct 17, 2009 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Oct 17, 2009

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

Searchable as RT69863$

@p6rt
Copy link
Author

p6rt commented Oct 17, 2009

From @jnthn

perl6 -e "sub foo(Int :$name) { say $name }; foo(name => 1|2)"
ResizablePMCArray​: index out of bounds!

@p6rt
Copy link
Author

p6rt commented Jul 29, 2010

From @coke

On Sat Oct 17 13​:30​:08 2009, jnthn@​jnthn.net wrote​:

perl6 -e "sub foo(Int :$name) { say $name }; foo(name => 1|2)"
ResizablePMCArray​: index out of bounds!

Now fails with​:

$ ./perl6 -e "sub foo(Int :$name) { say $name }; foo(name => 1|2)"
Not enough positional parameters passed; got 0 but expected 1
  in 'foo' at line 1
  in main program body at line 1

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Jul 29, 2010

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

@p6rt
Copy link
Author

p6rt commented Oct 1, 2011

From @moritz

Works now, and tested in t/spec/S03-junctions/autothreading.t.

@p6rt
Copy link
Author

p6rt commented Oct 1, 2011

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

@p6rt p6rt closed this as completed Oct 1, 2011
@p6rt p6rt added the testneeded label Jan 5, 2020
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