Test added in S09-subscript/slice.t
On Mon, Jan 12, 2015 at 06:59:09PM -0800, perl6 via RT wrote: > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "[BUG] Assigning to a Buf slice fails", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [perl #123594]. > > Please include the string: > > [perl #123594] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > perl6-bugs-follo...@perl.org > > ------------------------------------------------------------------------- > # perl6 -e 'my $b = Buf.new(0, 0); $b[0, 1] = 2, 3;' > Cannot modify an immutable Int > in method STORE at src/gen/m-CORE.setting:7969 > in sub postcircumfix:<[ ]> at src/gen/m-CORE.setting:2794 > in block <unit> at -e:1 > > # perl6 -v > This is perl6 version 2014.12-97-g2520958 built on MoarVM version 2014.12 > > # uname -a > Linux 3.16.0-28-generic #38-Ubuntu SMP Sat Dec 13 16:13:28 UTC 2014 x86_64 > GNU/Linux >