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


<gfldex> r: https://gist.github.com/2518066
<p6eval> rakudo a25e7d: OUTPUT«Null PMC access in find_method('slots') [...]
<jnthn> Eek. That looks bad.
<moritz> @.slots.push([$sender, $rcpt, $method]);
<moritz> that shouldn't ever work
<moritz> because @!slots is typed to contain Method objects
<moritz> and you try to push an array on it
<jnthn> Wow, yes.
<moritz> r: class A { has Method @.slots; }; A.new.slots.push: [1, 2, 3]
<p6eval> rakudo a25e7d:  ( no output )
<moritz> masak: wanna submit?
* masak submits rakudobug
<gfldex> changed Method @.slots to just @.slots, still Null PMC
<masak> gfldex: right, that's not the cause of the Null PMC access. we
know this.
<masak> ;)
<masak> just finding different, easier errors on the way.

Reply via email to