Re: [perl #66404] [BUG] Arraystatevariable assignment on declaration

2009-06-12 Thread Moritz Lenz
Johan Viklund (via RT) wrote: > In Rakudo this works: > > (my @s)[0] //= 0; > > But this does not: > > (state @s)[0] //= 0; > > Error message: "elements() not implemented in class 'Integer'" > Now tested in spec/S03-operators/misc.t. Cheers, Moritz

[perl #66404] [BUG] Arraystatevariable assignment on declaration

2009-06-08 Thread via RT
# New Ticket Created by Johan Viklund # Please include the string: [perl #66404] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=66404 > In Rakudo this works: (my @s)[0] //= 0; But this does not: (state @s)[0] //= 0; Err