# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #130440]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=130440 >
Code:
my @a[3;3]; for @a.pairs -> $p { $p.value = $++ }; say @a.perl
Result (2015.12,2016.10):
Array.new(:shape(3, 3), [0, 1, 2], [3, 4, 5], [6, 7, 8])
Result (2016.11,HEAD):
Cannot modify an immutable Mu
in block <unit> at /tmp/kUSl3oiqTO line 1
Bisectable points to
https://github.com/rakudo/rakudo/commit/0f2566a99a09d3f65dc4cf5d574c48e2fdacec44
Not sure if the previous behavior was right, I'm just pointing out what was
changed and what kind of code it could've broken (after all, somebody actually
tried this on camelia).