# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #76368] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=76368 >
<masak> rakudo: sub foo(Str) {}; foo 42 <p6eval> rakudo 7017d2: OUTPUT«Nominal type check failed for parameter ''; expected Str but got Int in 'foo' at line 11 * masak submits rakudobug Ok, so the un-awesome aspect of this is the "for parameter ''" part. It should identify the parameter in some other way, perhaps by position. The important thing is that, when the routine contains several parameter constraints with no associated variable name, they be distinguishable somehow.