Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created August 25, 2020 15:58
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/c03daebf766911de4803018acc3e5970 to your computer and use it in GitHub Desktop.
Save Whateverable/c03daebf766911de4803018acc3e5970 to your computer and use it in GitHub Desktop.
evalable6
class C { has $!var handles <gist FETCH>; method STORE(\v) { $!var := v } } constant term:<$c> = C.new; $c = 42; say $c.WHAT;
(exit code 1)
===SORRY!=== Error while compiling /tmp/nlIDy8ZOWP
Strange text after block (missing semicolon or comma?)
at /tmp/nlIDy8ZOWP:1
------> ETCH>; method STORE(\v) { $!var := v } }⏏ constant term:<$c> = C.new; $c = 42; sa
expecting any of:
infix
infix stopper
statement end
statement modifier
statement modifier loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment