On Wed Jun 09 05:12:54 2010, masak wrote:
> <TimToady> well, it was $_, so just .all works
> <masak> ooh!
> <masak> rakudo: .all
> <p6eval> rakudo 34c1ba: OUTPUT«Method 'all' not found for invocant of
> class '' [...]
> * masak submits rakudobug
> <colomon> What type is .all supposed to be defined on?
> <TimToady> Any -> List
> <jnthn> Ah, then it is a rakudobug.
> <jnthn> rakudo: 42.all
> <p6eval> rakudo 34c1ba: OUTPUT«Method 'all' not found for invocant of
> class 'Int' [...]
> <jnthn> Ah, OK, actually not bug, just NYI.
> <TimToady> in any case, it ought to work in your subset of Array
> <TimToady> rakudo: my @a = 1,2,3; say @a.all
> <p6eval> rakudo 34c1ba: OUTPUT«Method 'all' not found for invocant of
> class 'Array' [...]

Implemented and tests added by (Vyacheslav Matjukhin)++; resolving.

Thanks,

Jonathan

Reply via email to