# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #65312] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=65312 >
<masak> rakudo: sub foo(%bar) {}; foo( -> {} ) <p6eval> rakudo 44c487: OUTPUT«Parameter type check failed; expected something matching but got something of type Block() for %bar in call to foo [...] * masak submits rakudobug <jnthn> rakudo: sub foo(@a) { }; foo(1) <p6eval> rakudo 44c487: OUTPUT«Parameter type check failed; expected something matching but got something of type Int() for @a in call to foo [...] <jnthn> rakudo: sub foo(Int @a) { }; foo(1)