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


<ihrd> rakudo: multi foo ($a, %h?) { say 1}; multi foo (@a) {say 2};
foo(<1 2 3>)
<p6eval> rakudo 69b318: OUTPUT«Ambiguous dispatch to multi 'foo'.
Ambiguous candidates had signatures:␤:(Any $a, Associative.new()
%h?)␤:(Positional.new() @a)
<moritz_> Associative.new()? wtf/?
<moritz_> that seems to be not a type, but an implicit default value
<wayland76> I thought associative was a role
<wayland76> Oh, but the .new is weird :)
<masak> Associative.new() looks like the output of .perl
<masak> anyway, it's rakudobuggable.
* masak rakudobugs

It could be argued that it should simply say "Associative" and
"Positional", not "Associative.new()" and "Positional.new()".

Reply via email to