# New Ticket Created by Klaas-Jan Stol # Please include the string: [perl #46457] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46457 >
It seems that the long version to invoke a subroutine, using .pcc_begin/end does not work using named parameters. See the example below .sub main .local pmc x x = find_global 'foo' .pcc_begin .arg 1 :named('x') # fails! .arg 2 :named('y') # fails! .pcc_call x .pcc_end foo('x' => 1, 'y' => 2) foo(1 :named('x'), 2 :named('y')) .end .sub foo .param int i :named('y') .param int j :named('x') print i print j .end The long version fails, saying: Named parameter with more than one name. It seems to me the long version is an exact rephrase of the short versions, both of which are shown below. This needs to be fixed.