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


This be Rakudo db84bc, chugging along on Parrot r43174.

$ perl6 -e 'sub foo(@a, $b) {}; foo(5)'
Nominal type check failed for parameter '@a'; expected Positional but
got Int instead

While the nominal type check does indeed fail when sending an Int
where a Positional is expected, I'd much rather Rakudo fail me for
sending in one argument instead of two.

Reply via email to