# New Ticket Created by Moritz Lenz
# Please include the string: [perl #56748]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=56748 >
I found a small piece of code that reproduces the "Null PMC access in
type()" error:
sub f(Int $n){
if ($n >= 0 ){
f($n-1);
}
}
f(0);
produces the above error on parrot + rakudo r29207, Debian GNU Linux
i386 32bit.
An even smaller example is
sub f (Int $n) { f($n-1) }; f(0)
except that this one would loop infinitely if it weren't for the null
PMC access.
--
Moritz Lenz
http://moritz.faui2k3.org/ | http://perl-6.de/