Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created August 25, 2020 16:00
Show Gist options
  • Save Whateverable/07206a3b12a7dced4892cc080d7607a3 to your computer and use it in GitHub Desktop.
Save Whateverable/07206a3b12a7dced4892cc080d7607a3 to your computer and use it in GitHub Desktop.
evalable6
class C { has $!var handles <FETCH>; method STORE(\v) { $!var := v } } constant term:<$c> = C.new; $c = 42; say $c.WHAT;
(exit code 1)
===SORRY!=== Error while compiling /tmp/X0RJ28sMMh
Strange text after block (missing semicolon or comma?)
at /tmp/X0RJ28sMMh: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