On Sun May 03 03:44:45 2015, [email protected] wrote: > Example code: > > $ echo 'BEGIN $*KERNEL;' > Bug.pm > > $ perl6 --target=mbc --output=Bug.pm.moarvm Bug.pm > > $ perl6 -I. -MBug -e 'say 42' > write string requires an object with REPR MVMOSHandle > in method print at src/gen/m-CORE.setting:17832 > in sub say at src/gen/m-CORE.setting:18592 > in block <unit> at -e:1 > > $ perl6 -I. -MBug -e 'use nqp; nqp::say($*OUT.gist)' > IO::Handle<<STDOUT>>(closed) > > Also triggered by $*DISTRO, but eg not $*VM. >
Fixed, plus added tests in S10-packages/precompilation.t.
