[perl #63740] Rakudo can't reduce with optional params

2009-03-09 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #63740] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=63740 bacek rakudo: say reduce - $a, $b?, $c? { $a + ($b//0) + ($c//0) }, 1,2; p6eval

Re: [perl #63742] Rakudo doesn't count $_ in the arity of a block

2009-03-09 Thread Patrick R. Michaud
On Mon, Mar 09, 2009 at 02:43:40AM -0700, Carl Mäsak wrote: moritz_ rakudo: my $x = { $_*2 }; say $x.arity p6eval rakudo 8bbc31: OUTPUT«0␤» moritz_ that however is wrong * masak submits Expected result: 1. I'm not sure what it takes for a block to recognize that it has a $_ as an implicit

[perl #63744] Rakudo's ObjectRef doesn't proxy .signature properly

2009-03-09 Thread Patrick R. Michaud via RT
Now fixed in d16d3c3. We probably want to add a test in the suite, so I'm leaving the ticket open (assigning to moritz) until that's done. Thanks! Pm