Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created April 27, 2019 03:09
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/b4f889014c894f2fc63718d9ac9f0fe6 to your computer and use it in GitHub Desktop.
Save Whateverable/b4f889014c894f2fc63718d9ac9f0fe6 to your computer and use it in GitHub Desktop.
evalable6
role X { method y { … }}; class Y does role :: { method y { say "yes" } }; Y.new.y
(exit code 1)
===SORRY!=== Error while compiling /tmp/SNN66u0O7h
Invalid typename 'role'
at /tmp/SNN66u0O7h:1
------> e X { method y { … }}; class Y does role⏏ :: { method y { say "yes" } }; Y.new.y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment