# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #73106] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=73106 >
<diakopter> rakudo: my $a = sub { say $^a + $^a }; $a(4); # first of 2 <p6eval> rakudo a215ee: OUTPUT«Not enough positional parameters passed; got 1 but expected 2 [...] <diakopter> rakudo: my $a = sub { say $^a + $^a }; $a(4, 5); # second of 2 <p6eval> rakudo a215ee: OUTPUT«10» * masak submits rakudobug Just to be clear, the first one-liner should not fail, the second should. Also, in a hypothetical world where the second shouldn't fail, 10 is the wrong answer. It should be 8.