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


<masak> rakudo: -> *...@a { @a[+0] }.()
<p6eval> rakudo 78faa0: OUTPUT«No applicable candidates found to
dispatch to for 'postcircumfix:<[ ]>'. Available candidates are:␤:(Mu
: Int $i;; *%_)␤:(Mu : Block $b;; *%_)␤:(Mu :
!whatever_dispatch_helper ;; *%_) [...]
* masak submits rakudobug
<moritz_> rakudo: -> *...@a { @a[0] }.()
<p6eval> rakudo 78faa0:  ( no output )
<masak> something with + that makes it not a good index.
<moritz_> rakudo: say (+0).WHAT
<p6eval> rakudo 78faa0: OUTPUT«Num()␤»
<masak> that, probably :)
<moritz_> :-)
<masak> the funny thing is that it works with non-slurpy arrays:
<masak> rakudo: -> @a { say @a[+0] }.([5])
<p6eval> rakudo 78faa0: OUTPUT«5␤»
<moritz_> yeh knew, we've had lots of trouble with slurpy params
<moritz_> colomon and me

Reply via email to