Created
November 26, 2018 14:03
-
-
Save Scimon/59e82c9ff1d5287ff59a7fb7f268ce22 to your computer and use it in GitHub Desktop.
Error in Test::Env::Attribute
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
Cannot invoke this object (REPR: Null; VMNull) | |
in block at /home/sproctor/src/p6-Trait-Env/lib/Trait/Env/Attribute.pm6 (Trait::Env::Attribute) line 87 | |
in block <unit> at t/02-env-only.t line 71 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To replicate :
Comment out
no precompilation
in the https://github.com/Scimon/p6-Trait-Env/blob/master/lib/Trait/Env/Attribute.pm6Run Test suite.
The specific test that fails has the class declaration in an external file
Config
and is the last subtest "External class test"(Note that the pre compiled version runs fine if you define your class and used it all in one script. But fails if it's in an external module.)
I'm at a loss as to why.