# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #61824]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61824 >


<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

Reply via email to