Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created March 12, 2022 12:08
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/2d74803e95f6c27b9a34264b76ed6bd1 to your computer and use it in GitHub Desktop.
Save Whateverable/2d74803e95f6c27b9a34264b76ed6bd1 to your computer and use it in GitHub Desktop.
evalable6
class c {has $.a=42} my $k='a'; my $i=c.new; say $i.a;
(exit code 1)
===SORRY!=== Error while compiling /tmp/rJpmZjFKkB
Strange text after block (missing semicolon or comma?)
at /tmp/rJpmZjFKkB:1
------> class c {has $.a=42}⏏ my $k='a'; my $i=c.new; say $i.a;
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