Now fixed in r33193:
$ cat 60604
class A {
method foo (@a) {
@a.grep: { say @a }; # just for example, real code not so pointless
}
}
my $o = A.new;
$o.foo(['foo']); # foo
$o.foo([1, 2]); # foo
$ ./parrot perl6.pbc 60604
foo
1 2
1 2
$
Thanks!
Pm
# New Ticket Created by Ilya Belikin
# Please include the string: [perl #60604]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=60604 >
Hi!
I start that message like bug report, but I have doubt.
example:
class A {
met
On Mon Nov 17 01:51:40 2008, ihrd wrote:
> Hi!
> I start that message like bug report, but I have doubt.
>
> example:
>
> class A {
> method foo (@a) {
> @a.grep: { say @a }; # just for example, real code not so
pointless
> }
> }
>
> my $o = A.new;
>
> $o.foo(['foo']); # foo
> $