[perl #58602] subset types and multi dispatch don't mix

2008-09-05 Thread via RT
# 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

[perl #58602] subset types and multi dispatch don't mix

2008-09-11 Thread [EMAIL PROTECTED] via RT
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

[perl #58602] subset types and multi dispatch don't mix

2008-11-11 Thread [EMAIL PROTECTED] via RT
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

Re: [perl #58602] subset types and multi dispatch don't mix

2008-09-14 Thread Moritz Lenz
[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

Re: [perl #58602] subset types and multi dispatch don't mix

2008-11-11 Thread chromatic
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