Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created July 18, 2018 21:19
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 Whateverable/6433f04f8794be1a8ac5b9cb3cc9b93a to your computer and use it in GitHub Desktop.
Save Whateverable/6433f04f8794be1a8ac5b9cb3cc9b93a to your computer and use it in GitHub Desktop.
evalable6
BEGIN { given '/tmp/z4222/'.mkdir { .add('Foo.pm6').spurt: 「class Foo { has $.bar where do require ::('Bar') }」; .add('Bar.pm6').spurt: 「use Foo; class Bar { has Foo $.foo }」 }; use lib '/tmp/Foo'; use Bar; use Foo; Foo.new: :bar(Bar)
(exit code 1)
===SORRY!===
Could not find Bar at line 1 in:
/tmp/Foo
/home/bisectable/git/whateverable/sandbox/lib
/home/bisectable/.perl6
/tmp/whateverable/rakudo-moar/a847abe5236a6d3b63ae08ba116ea19c3738c291/share/perl6/site
/tmp/whateverable/rakudo-moar/a847abe5236a6d3b63ae08ba116ea19c3738c291/share/perl6/vendor
/tmp/whateverable/rakudo-moar/a847abe5236a6d3b63ae08ba116ea19c3738c291/share/perl6
CompUnit::Repository::AbsolutePath<94379571852464>
CompUnit::Repository::NQP<94379547559552>
CompUnit::Repository::Perl5<94379547559592>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment