# New Ticket Created by woshini # Please include the string: [perl #88562] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=88562 >
(15:54:45) *woosley: *rakudo: multi sub foo(0, $){}; multi sub foo(Int $n, Str $a="A"){say $a}; foo(2,"A") (15:54:49) p6eval: rakudo 4bf132: OUTPUT«No applicable candidates found to dispatch to for 'foo'. Available candidates are::(Int where (0), Any ):(Int $n, Str $a = { ... }) in main program body at line 22:/tmp/bHQu4n3fq6» (15:56:17) *woosley: *rakudo: multi sub foo(Int $n, Str $a="A"){say $a}; foo(2,"A") (15:56:21) p6eval: rakudo 4bf132: OUTPUT«A» (15:56:59) *woosley: *hmmm, this should be a rakudo bug (16:02:51) woosley: rakudo: multi sub foo(0, $){}; multi sub foo(Int $n, $a="A"){say $a}; foo(2,"A") (16:02:54) p6eval: rakudo 4bf132: OUTPUT«A» -- Woosley.Xu