On Mon Feb 16 02:17:11 2009, masak wrote:
> It's Rakudo c4f0f9, and the following error occurs:
> 
> $ perl6 -e 'enum A <b c>; b..c'
> Multiple Dispatch: No suitable candidate found for 'cmp', with
> signature 'PP->I'
> [...]
> 
> Though I haven't confirmed with the synopses, I'd expect a range of
> enum values to work. By the way, writing the range 'A::b..A::c' gives
> the same result.
> 
After today's enum refactor:

> enum A <b c>; b..c
> say (b..c).from
0
> say (b..c).to
1

Assigning ticket to moritz++ for spectests.

Thanks,

Jonathan

Reply via email to