Tests added in https://github.com/perl6/roast/commit/d78f33966cf6a6ec6bc060d98dfc521ad59b6f75
Closing On 2018-02-06 14:12:56, jan-olof.hen...@bredband.net wrote: > On Sat, 07 May 2016 13:26:09 -0700, sml...@gmail.com wrote: > > Confirmed on current Rakudo. > > > > Interestingly, it works if `for @a` is replaced with `for @a[*]`: > > > > ➜ my Int @a; @a[5] = 42; $_ = 100 for @a[*]; say @a; > > [100 100 100 100 100 100] > > Seems to have been fixed with Rakudo commit > 069b789af545dff30d450618fae82ccb82579346. > Tests needed.