Running the command manually everything is fine (on Parrot, Moar and JVM), but 
running it as a test resurrects the Null PMC access:

$ perl6-p -e 'sub circumfix:<w "> ($a) { }; say q[alive]'
alive

$ PERL6LIB=lib perl6-p -e 'use Test; lives_ok { sub circumfix:<w "> ($a) { }; 
}, "running under Test.pm"'
not ok 1 - running under Test.pm

# Failed test 'running under Test.pm'
# at -e line 1
# Null PMC access in find_method('clone')

Running it in REPL is also fine:

> sub circumfix:<w "> ($a) { }; say "alive"
alive

The nice thing is, that I found out about the problem under Test.pm while 
adding a test to S06-operator-overloading/sub.t with the following commit: 
https://github.com/perl6/roast/commit/18a47abfb3

Reply via email to