# New Ticket Created by Moritz Lenz
# Please include the string: [perl #58602]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=58602 >
Rakudo r30787 dies on multi dispatch when subset types are involved:
test file:
subset
On Fri Sep 05 08:26:34 2008, [EMAIL PROTECTED] wrote:
> Rakudo r30787 dies on multi dispatch when subset types are involved:
>
Yes; this ticket depends on us switching over to the new
multi-dispatcher (perl6multisub.pmc), which does handle this case. I
hope to get that sorted out in the near futur
On Fri Sep 05 08:26:34 2008, [EMAIL PROTECTED] wrote:
> Rakudo r30787 dies on multi dispatch when subset types are involved:
>
> test file:
>
> subset Even of Int where { $_ % 2 == 0 };
> subset Odd of Int where { $_ % 2 == 1 };
>
> multi sub test_subtypes(Even $y){ 'Even' }
> multi sub test_su
[EMAIL PROTECTED] via RT wrote:
> On Fri Sep 05 08:26:34 2008, [EMAIL PROTECTED] wrote:
>> Rakudo r30787 dies on multi dispatch when subset types are involved:
>>
> Yes; this ticket depends on us switching over to the new
> multi-dispatcher (perl6multisub.pmc), which does handle this case. I
> hop
On Sunday 14 September 2008 12:48:07 Moritz Lenz wrote:
> Currently (r31122) the example dies with "Ambiguous dispatch.".
>
> (On a related note, could we get more verbose error messages? "Ambiguous
> dispatch for { sub | method } $name" would be more helpful.)
Added in r32552.
-- c