[perl #130855] [SPESH][OPTIMIZER] glitch with anon vars causes incorrect `Cannot assign to an immutable value` error

2017-09-06 Thread jn...@jnthn.net via RT
On Fri, 24 Feb 2017 15:02:23 -0800, c...@zoffix.com wrote: > Expected no errors, but in the first case it complains about > assignment to immutable value even though none exist in the code. > > zoffix@VirtualBox:~$ perl6 -e 'm: sub foo () {$ = 42}; for ^200 { > $ = foo }; say now - INIT now' >

[perl #130855] [SPESH][OPTIMIZER] glitch with anon vars causes incorrect `Cannot assign to an immutable value` error

2017-09-06 Thread jn...@jnthn.net via RT
On Fri, 24 Feb 2017 15:02:23 -0800, c...@zoffix.com wrote: > Expected no errors, but in the first case it complains about > assignment to immutable value even though none exist in the code. > > zoffix@VirtualBox:~$ perl6 -e 'm: sub foo () {$ = 42}; for ^200 { > $ = foo }; say now - INIT now' >

[perl #130855] [SPESH][OPTIMIZER] glitch with anon vars causes incorrect `Cannot assign to an immutable value` error

2017-02-24 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #130855] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130855 > Expected no errors, but in the first case it complains about assignment to immutable valu