Fixed with c9699ab , tests needed. Please note that this currently breaks tests 55-56 in S02-types/range.t which appear to be a little too specific for their own good.
> On 3 Dec 2017, at 05:28, Aleks-Daniel Jakimenko-Aleksejev via RT > <perl6-bugs-follo...@perl.org> wrote: > > Today (2017.11,HEAD(e5b660e)) it prints this message: > > Cannot modify an immutable Str (Nil) > in block <unit> at -e line 1 > > Which is still LTA > > On 2015-09-02 05:09:29, FROGGS.de wrote: >> m: my $a = (1, 2, 3); $a[42] = 21 >> camelia rakudo-moar 00be1e: OUTPUT«Index out of range. Is: 42, should be >> in 0..2 in block <unit> at /tmp/nnTEvtevbH:1» >> GLRelia rakudo-moar 467b79: OUTPUT«Attempted to STORE to Nil. in block >> <unit> at /tmp/o9_DeZFRmB:1» >> >> Both answers are far from ideal because you cannot assign to a List >> anyway, even when you use an existing position. >>