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


It's a948cae51 o'clock, I'm sitting in a nice café with gratis
wireless, and I'm getting this strange effect: a call dispatches to a
multi variant with a slurpy hash if that's the only variant around,
but it won't find it if other variants are defined.

$ perl6 -e 'multi foo(*%_) { say "unknown" }; foo(:key); foo(:unknown)'
unknown
unknown

$ perl6 -e 'multi foo(:$key!) { say "with key" }; multi foo(*%_) { say
"unknown" }; foo(:key); foo(:unknown)'
with key
No applicable candidates found to dispatch to for 'foo'
in Main (<unknown>:1)

With or with the '!' after ':$key', this problem occurs.

Reply via email to