# New Ticket Created by Matthew Walton # Please include the string: [perl #61766] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61766 >
17:51 <@jnthn> It's possible it is something that didn't work in the first place, or something that came up in postcircumfix changes and we didn't have tests to identify... 17:53 < pasteling> "Matt-W" at 81.101.136.8 pasted "Object attribute arrays and negative indices" (15 lines, 276B) at http://sial.org/pbot/34079 17:53 < Matt-W> I'm using a Rakudo I updated from svn about half an hour ago 17:54 < masak> Matt-W: should be recent enough :) 17:54 < Matt-W> It works, by the way, when the array is not part of an object 17:54 < masak> rakudo: class A { has @.foo; method bar { @.foo[0] = "Hey" } }; A.new.bar 17:54 < p6eval> rakudo 34432: RESULT«"Hey"» 17:55 < masak> rakudo: class A { has @.foo; method bar { @.foo[0] = "Hey"; say @.foo[*-1] } }; A.new.bar 17:55 < p6eval> rakudo 34432: OUTPUT«Null PMC access in find_method()current instr.: 'parrot;A;_block40' pc 446 (EVAL_13:170)» 17:55 < masak> there it is. 17:55 < Matt-W> yup 17:55 < Matt-W> that's exactly it