On Thu Sep 09 09:02:22 2010, masak wrote: > <moritz_> rakudo: say callframe().callframe(1).my.perl > <p6eval> rakudo 859f2d: OUTPUT«Null PMC access in isa_pmc() in > '&infix:<=>' at line 1 in 'CallFrame::my' at line 7047:CORE.setting > [...] > <moritz_> that isa_pmc NPA is new, I think > <moritz_> ie it worked when I implemented it, back in the days :-) > * masak submits rakudobug > <pmichaud> why are we getting a ParrotInterpret...... oh, I see the problem. > <pmichaud> The problem isn't with CallFrame.perl, it's with > CallFrame's $!interp.perl > <pmichaud> the default .perl is attempting to call .perl on all of the > attributes > <pmichaud> so, we just need a .perl for CallFrame that does something > more reasonable, like fail. :-)
Output is now: 16:53 < [Coke]> rakudo: say callframe().callframe(1).my.perl 16:53 <+p6eval> rakudo 88c5a5: OUTPUT«not yet implemented in method callframe at src/gen/CORE.setting:6343 in block <anon> at /tmp/KUGjkHLZrt:1 in <anon> at /tmp/KUGjkHLZrt:1» -- Will "Coke" Coleda