On Mon Dec 29 10:17:11 2008, masak wrote:
> <eric256> rakudo: my @a = <1 2 3 4 5 6>; my @b = (10..16); for @a Z @b
> <-> $a,$b { $a++  }; say @a;
> <p6eval> rakudo 34586: OUTPUT«234567␤»
> <eric256> rakudo: my @a = <1 2 3 4 5 6>; my @b = (10..16); for @a Z @b
> <-> $a,$b { $a = $a +1 }; say @a;
> <p6eval> rakudo 34586: OUTPUT«Cannot assign to readonly variable. [...]
> <eric256> rakudo: my @a = <1 2 3 4 5 6>; my @b = (10..16); for @a Z @b
> -> $a,$b { $a++ }; say @a;
> <p6eval> rakudo 34586: OUTPUT«234567␤»
> <eric256> yea ++ is working regardless of anything else ;) how odd
> * masak submits rakudobug

++ now doesn't work regardless any more as of git 45cf376, and <-> is
now also implemented in git bb2cdb7 (didn't add any more tests, since
once the ++ problem is solved then we can't really pass both that test
and the <-> one without having both done properly, so I think coverage
is enough).

Thanks!

Jonathan

Reply via email to