Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created April 18, 2019 00:06
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/b8b8a37f49b9347932a39fe7e24ab336 to your computer and use it in GitHub Desktop.
Save Whateverable/b8b8a37f49b9347932a39fe7e24ab336 to your computer and use it in GitHub Desktop.
evalable6
my role A { method bless { say "hi"; my $o = self.CREATE.BUILDALL(Empty, %attrinit); $o; }; method a { say "Role"; }; }; class B does A { method a { say "Class"; }; }; my $a = B.new but role { method a { self.B::a }; };
(exit code 1)
===SORRY!=== Error while compiling /tmp/LihXMND_9H
Variable '%attrinit' is not declared
at /tmp/LihXMND_9H:1
------> i"; my $o = self.CREATE.BUILDALL(Empty, ⏏%attrinit); $o; }; method a { say "Role
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment