Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created January 30, 2018 09:13
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Whateverable/4fcd4324585205f523325cd6b9aabae7 to your computer and use it in GitHub Desktop.
evalable6
multi trait_mod:<is>(Any:D $s,:$thing){say "\"$s\" has $thing."};my $a is thing<foo>;
(exit code 1)
===SORRY!=== Error while compiling /tmp/3pRvfDT05d
Can't use unknown trait 'is thing' in a variable declaration.
at /tmp/3pRvfDT05d:1
------> \"$s\" has $thing."};my $a is thing<foo>⏏;
expecting any of:
TypeObject
default
dynamic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment