Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created April 27, 2019 17:29
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/415ed9043b80e78b7d7031ee04670c2e to your computer and use it in GitHub Desktop.
Save Whateverable/415ed9043b80e78b7d7031ee04670c2e to your computer and use it in GitHub Desktop.
evalable6
use MONKEY; role A {}; augment role A { method foo() { say "foo" } }; # looks like no
(exit code 1)
===SORRY!=== Error while compiling /tmp/dm3ox4SGLI
Cannot augment A because it is closed
at /tmp/dm3ox4SGLI:1
------> use MONKEY; role A {}; augment role A⏏ { method foo() { say "foo" } }; # looks
expecting any of:
generic role
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment