Re: [perl #71536] [BUG] Rakudo allows two multi variants with the exact same signature to be defined

2009-12-27 Thread Jonathan Worthington
On 22/12/2009 10:22, Moritz Lenz wrote: Carl MXXsak (via RT) wrote: This be Rakudo 8dc189. $ perl6 -e 'multi sub f($a) {}; multi sub f($a) {}; f(42)' Ambiguous dispatch to multi 'f'. Ambiguous candidates had signatures: :(Any $a) :(Any $a) The definition of two variants with equivalent

[perl #71536] [BUG] Rakudo allows two multi variants with the exact same signature to be defined

2009-12-22 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #71536] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=71536 This be Rakudo 8dc189. $ perl6 -e 'multi sub f($a) {}; multi sub f($a) {}; f(42)'

Re: [perl #71536] [BUG] Rakudo allows two multi variants with the exact same signature to be defined

2009-12-22 Thread Moritz Lenz
Carl MXXsak (via RT) wrote: This be Rakudo 8dc189. $ perl6 -e 'multi sub f($a) {}; multi sub f($a) {}; f(42)' Ambiguous dispatch to multi 'f'. Ambiguous candidates had signatures: :(Any $a) :(Any $a) The definition of two variants with equivalent signatures (i.e. identical up to names)