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


In Rakudo b2e7ac, Parrot r36619:

$ cat A.pm
use v6;
role A { method x(B $b) {} }
$ perl6 -e 'role B {}; use A; A.x(B)'
Null PMC access in isa()
[...]

Observations:

* The role A must be imported for this to happen.
* The parameter in method x must refer to B.
* The argument to A.x doesn't actually have to be B, or of type B. The
error occurs anyway.

Reply via email to