On Sun Jun 21 11:24:57 2009, moritz wrote:
> $ perl6 -e 'my @a := gather { for 1..3 { take $_; say @a.perl } }; say
> @a.perl'
> Null PMC access in find_method()
> in Main (:1)
Current behavior:
Type check failed in binding; expected Positional but got Seq (?)
If I change it to 'my \a = gather
On Sun Jun 21 11:24:57 2009, moritz wrote:
> $ perl6 -e 'my @a := gather { for 1..3 { take $_; say @a.perl } };
say
> @a.perl'
> Null PMC access in find_method()
> in Main (:1)
>
> I don't know if you need laziness to get that working...
>
> Moritz
This now says:
$ ./perl6 -e 'my @a := gather
On Sun Jun 21 11:24:57 2009, moritz wrote:
> $ perl6 -e 'my @a := gather { for 1..3 { take $_; say @a.perl } }; say
> @a.perl'
> Null PMC access in find_method()
> in Main (:1)
>
> I don't know if you need laziness to get that working...
>
> Moritz
21:43 < [Coke]> rakudo: my @a := gather { for
# New Ticket Created by Moritz Lenz
# Please include the string: [perl #66820]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=66820 >
$ perl6 -e 'my @a := gather { for 1..3 { take $_; say @a.perl } }; say
@a.perl'
Null PMC