Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created August 31, 2019 03:49
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/7952e189b2735575bff9b16931a0c75a to your computer and use it in GitHub Desktop.
Save Whateverable/7952e189b2735575bff9b16931a0c75a to your computer and use it in GitHub Desktop.
evalable6
package A { BEGIN { my $name = 'foo'; sub a { say 'OHAI!' } but role { method name { $name } }; trait_mod:<is>(:export, &a) } }; use A; foo;
(exit code 1)
===SORRY!===
Could not find A at line 1 in:
file#/home/bisectable/git/whateverable/sandbox/lib
inst#/home/bisectable/.perl6
inst#/tmp/whateverable/rakudo-moar/579ac66e8b8067e7ae1a4000aafd27983ee2bfc6/share/perl6/site
inst#/tmp/whateverable/rakudo-moar/579ac66e8b8067e7ae1a4000aafd27983ee2bfc6/share/perl6/vendor
inst#/tmp/whateverable/rakudo-moar/579ac66e8b8067e7ae1a4000aafd27983ee2bfc6/share/perl6/core
ap#
nqp#
perl5#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment