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_subtypes(Odd $y){ 'Odd' } > say test_subtypes(3) > > dies with > No applicable methods. > I just checked this after further fixes to Perl6MultiSub and am happy to say that as of r32528 this now works (whether that's the revision it started working in, I'm not sure - but it does the Right Thing.)
Thanks! Jonathan