# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #73488] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=73488 >
<masak> rakudo: sub foo(%h($left)) {}; foo({ no => "left key" }) <p6eval> rakudo 5b81df: OUTPUT«Not enough positional parameters passed; got 0 but expected 1 [...] <masak> I guess that's a correct error message... wonder if it can be made awesomer, though... <masak> does anyone have any suggestions? * PerlJam isn't even sure what %h($left) is supposed to mean these days <masak> PerlJam: 'a hash %h with a key named "left" and the value $left' <PerlJam> Then an "awesomer" message would be "Hash %h has no key named 'left'" perhaps <masak> I really like that. <masak> it works for single dispatch. * masak submits LTA rakudobug