Created
December 4, 2015 12:21
-
-
Save donaldh/0cf1160b5fc87d4ba457 to your computer and use it in GitHub Desktop.
Missing serialize function for REPR ContextRef
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Inner { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Outer { | |
use Inner; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Outer; |
Author
donaldh
commented
Dec 4, 2015
% ./perl6 --target=jar --output=Outer.pm.jar Outer.pm
P6M RMD: Loading settings CORE
P6M RMD: Setting up default paths: . blib
P6M RMD: going to load Perl6::BOOTSTRAP
P6M RMD: Settings CORE loaded
$*W RMD: Attempting 'Inner' as a pragma
$*W RMD: 'Inner' is not a valid pragma
$*W RMD: Attempting to load 'Inner'
$*W RMD: Late loading 'Inner'
SET RMD: going to load Inner: {}
SET RMD: Parsing specs:
SET RMD: Parsing specs: .
SET RMD: Parsing specs: blib
SET RMD: Parsing specs: /Users/donaldh/git/rakudo/install/share/nqp/lib
87CE1FC087A22255484613514B08229FBC3CBA14 /Users/donaldh/git/rakudo/Inner.pm
ohai
$*W RMD: Pre-compiling 'Inner'
$*W RMD: Performing imports for 'Inner'
===SORRY!===
Missing serialize function for REPR ContextRef
Golfing a bit further, when serializing a module during compilation, it serializes the CompUnit->CompUnit::Handle->CodeRef of the referenced precompiled module.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment