On Tue Dec 30 01:46:08 2008, masak wrote:
> Rakudo r34628 dies with a strange error on a perfectly acceptable
> range specification involving two stars:
> 
> $ perl6 -e '(0,1)[*..*]'
> Multiple Dispatch: No suitable candidate found for 'cmp', with
> signature 'PP->I'
> [...]
> 
> When it also involves a subtraction, Parrot dies of a bus error
> instead.
> 
> $ perl6 -e '(0,)[*-1..*]'
> Bus error

On a recent vintage rakudo, this no longer bus errors, and generates the 
following output:

> (0,1)[*..*]
Method 'count' not found for invocant of class 'Failure'
> (0,1)[*-1..*]
1 Any()

(resent to hit list)
-- 
Will "Coke" Coleda

Reply via email to