On Tue May 29 14:55:53 2012, diakopter wrote:
> On Sat Mar 20 09:42:27 2010, masak wrote:
> > $ perl6 -e 'my @array = 1, 2, 3; say @array.min:{ $^a <=> $^b }'
> > Method 'min:{ $^a <=> $^b }' not found for invocant of class 'Array'
> > [...]
> > 
> > Seems now Rakudo considers the colon and the block to be part of the 
> > method name. Still wrong, but in a more hopeful way, p'haps.
> 
> seems fixed now.  marking testneeded.
> 
> 16:55 <diakopter> r: my @array = 1, 2, 3; say @array.min:{ $^a <=> $^b 
}
> 16:55 <p6eval> rakudo 024843: OUTPUT«1␤»

added a test in ed219b0.  Resolving.

Reply via email to