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


17:23 <@moritz_> rakudo: proto sub a(*...@val) { say @val.perl }; a(:val<a
b c>)
17:23 < p6eval> rakudo cb4521: OUTPUT«Unexpected named parameter 'val'
               passed␤current instr.: 'a' pc 223 (EVAL_1:83)␤»
17:23 <@moritz_> rakudo: proto sub a(@val) { say @val.perl }; a(:val<a b c>)
17:23 < p6eval> rakudo cb4521: OUTPUT«("a", "b", "c")␤»

The only difference between these two lines the * in front of the @val
parameter. Obviously it should work with it, too

Reply via email to