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


<masak> rakudo: class A { multi method foo() { say "foo1" }; multi
method foo($x) { say "foo2"; nextwith() } }; A.new.foo(42)
<p6eval> rakudo f845cc: OUTPUT«foo2␤Null PMC access in isa()␤in method
A::foo [...]
<masak> mwhahaha.
* masak submits rakudobug
<masak> rakudo: class A { multi method foo($x) { say "foo2";
nextwith() } }; A.new.foo(42)
<p6eval> rakudo f845cc: OUTPUT«foo2␤Null PMC access in isa()␤in method
A::foo [...]
<jnthn> huh, it blows up when there's nowhere to defer to?
<jnthn> ouch.
<masak> jnthn: but in the first example, isn't there somewhere to defer to?
<jnthn> masak: Very debatable.
<masak> why?
<masak> because it isn't in the original list of candidates?
<jnthn> Right.
<masak> understood.
<jnthn> And if we decide to re-generate the list, we get ourselves
into even more "fun".
* masak shudders
<jnthn> I still need to write a mail to p6l on that issue.
<jnthn> And try and get a design decision.

Reply via email to