This appears to only happen on mutli subs but I am still looking for other causes.
-- John Harrison On Fri, Oct 1, 2010 at 11:11 AM, perl6 via RT <perl6-bugs-follo...@perl.org>wrote: > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "[BUG] Null PMC access on does Callable", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [perl #78156]. > > Please include the string: > > [perl #78156] > > in the subject line of all future correspondence about this issue. To do > so, > you may reply to this message. > > Thank you, > perl6-bugs-follo...@perl.org > > ------------------------------------------------------------------------- > Some subs can 'does Callable' while other return Null PMC access errors. > > <TimToady> rakudo: say &print does Callable > <p6eval> rakudo 8827d0: OUTPUT«Null PMC access in clone() in > 'infix:<does>' at line 37 in 'infix:<does>' at line 537:CORE.setting in > main program body at line 22:/tmp/NXqor71nBI» > <TimToady> oo > <TimToady> rakudo: sub foo {}; say &foo does Callable > <p6eval> rakudo 8827d0: OUTPUT«foo» > > -- > John Harrison > >