# New Ticket Created by  cygx 
# Please include the string:  [perl #125090]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=125090 >


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.

Reply via email to