-
-
Save tokuhirom/70df67f456ea6193434a to your computer and use it in GitHub Desktop.
FAIL
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
# lib/C/B.pm | |
use v6; | |
unit class C::B; | |
method a() { | |
my $pkg = 'C::M'; | |
require ::($pkg); | |
::($pkg).new(); | |
say "DONE"; | |
} |
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 v6; | |
class C::T { | |
} | |
use C::B; | |
C::B.a(); |
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
# lib/C/M.pm | |
use v6; | |
unit class C::M; |
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
Failed | |
Actually thrown at: | |
in method a at /Users/tokuhirom/tmp/20151010/70df67f456ea6193434a/lib/C/B.pm:7 | |
in block <unit> at foo.t:8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment