# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #63876]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=63876 >


<skids> rakudo: sub f ($f, *...@slurp) { @slurp[0].say; @_[0].say }; 
f("OH","HAI");
<p6eval> rakudo 5b1ff9: OUTPUT«invalid arg type in named portion of args [...]
<jnthn> ...huh...
<jnthn> what named portion :-|
<jnthn> rakudo: sub f ($f, *...@slurp) { }; f("OH","HAI");
<p6eval> rakudo 5b1ff9: RESULT«[]»
<jnthn> rakudo: sub f ($f, *...@slurp) { @slurp[0].say; }; f("OH","HAI");
<p6eval> rakudo 5b1ff9: OUTPUT«HAI␤»
<jnthn> rakudo: sub f ($f, *...@slurp) { @_[0].say; }; f("OH","HAI");
<p6eval> rakudo 5b1ff9: OUTPUT«invalid arg type in named portion of args [...]
<jnthn> rakudo: @_[0].say
<p6eval> rakudo 5b1ff9: OUTPUT«Use of uninitialized value␤␤»
<jnthn> rakudo: sub x { @_[0].say }; x()
<p6eval> rakudo 5b1ff9: OUTPUT«Use of uninitialized value␤␤»
<skids> Wow did I find a bug?  I was just trying to figure if @_ still
worked even with a named slurpy, and how.
<jnthn> rakudo: sub x(*...@x) { @_[0].say }; x()
<p6eval> rakudo 5b1ff9: OUTPUT«invalid arg type in named portion of args [...]
<jnthn> masak: quick! rakudobug!
* masak submits, quickly!

Reply via email to