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


<masak> rakudo: subset H of Hash; role R { method x(H $project) {} };
class A does R { multi method x($project) {} }; A.new.x({ a => "b" })
<p6eval> rakudo 4e6cce: OUTPUT«Null PMC access in invoke()␤  in
'ACCEPTS' at line 1 [...]
* masak submits rakudobug
<masak> "multi method killed in tragic Null PMC accident involving a
role and a subtype".
<masak> rakudo: subset H of Int; role R { method x(H $project) {} };
class A does R { multi method x(H $project) { say "OH HAI" } };
A.new.x(42)
<p6eval> rakudo 4e6cce: OUTPUT«OH HAI␤»
<masak> and the Hash type seems to be involved in the collision as well.

Reply via email to