# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #72916]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=72916 >


<diakopter> rakudo: Rat.^add_method('lol', method ($what) { say
"lol$what" }).lol('cat')
<p6eval> rakudo 5d43a3: OUTPUT«Null PMC access in find_method('lol')␤ [...]
* masak submits rakudobug
<jnthn> fwiw, that's not supposed to work. :-)
<jnthn> (shouldn't npmca, though)
<masak> bla bla bla Null PMC access bla bla... yes
<masak> rakudo: Rat.^add_method('x', method () {}).x
<p6eval> rakudo 5d43a3: OUTPUT«Null PMC access in find_method('x') [...]
<jnthn> masak: It's just that it's a method written in PIR with no .return
<masak> :)
* masak reads that as "It's just that it's a [black box]"
<jnthn> We either need (a) a blanket solution or (b) to go and
find/tweak each method/sub that does that
<jnthn> Or to write less in PIR :-)
<jnthn> No, it's quite hackable on. :-)
<masak> jnthn: hey, I don't tell you the specifics of bug submitting! :P
<jnthn> masak: :-P

Reply via email to