Skip to content

Instantly share code, notes, and snippets.

@cygx
Created May 3, 2015 08:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cygx/73df9343bb97208b0534 to your computer and use it in GitHub Desktop.
Save cygx/73df9343bb97208b0534 to your computer and use it in GitHub Desktop.
precompilation bug
$ 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment