On Thu, Dec 11, 2008 at 02:28:18PM -0800, Moritz Lenz wrote:
> 
> 23:27 < moritz_> rakudo: my ($x, @y) = <a b c d e>; say @y.perl
> 23:27 < p6eval> rakudo 33813: OUTPUT["b"␤]
> 
> so @y gets only the first element, when in fact it should get all the rest.

The problem is that array variables in lists are being initialized to
a scalar type instead of an Array, and this causes the assignment
to fail.

This will be fixed as part of signature refactoring, coming soon.

Pm

Reply via email to