Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created January 30, 2018 09:13
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/84d3e5fe0758d8aa7360c4cb232300ce to your computer and use it in GitHub Desktop.
Save Whateverable/84d3e5fe0758d8aa7360c4cb232300ce 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/qPnSp0V8NH
Can't use unknown trait 'is thing' in a variable declaration.
at /tmp/qPnSp0V8NH:1
------> ay "$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