Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created January 30, 2018 09:07
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/12c3ecb5fb585fbaab1346becb8ce0d3 to your computer and use it in GitHub Desktop.
Save Whateverable/12c3ecb5fb585fbaab1346becb8ce0d3 to your computer and use it in GitHub Desktop.
evalable6
multi trait_mod:<has>(Any:D $s,:$thing){say "\"$s\" has $thing."};my $a has thing<foo>;
(exit code 1)
===SORRY!=== Error while compiling /tmp/L9w0wzzipj
Two terms in a row
at /tmp/L9w0wzzipj:1
------> :$thing){say "\"$s\" has $thing."};my $a⏏ has thing<foo>;
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