[perl #56748] [BUG] Null PMC access in type()  On Wed Jul 09 10:48:19 2008, moritz@casella.verplant.org wrote:
> 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.
> 
I fixed a while ago the bug that prevented us seeing the real exception.
Today I have fixed the root cause of this, which was the type check
failure. So this now runs as it should (I stuck a "say $n" in and tried
it with f(4) and so forth, and it works as expected).

Thanks,

Jonathan


