Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created August 13, 2020 22:59
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/aeaa842db32bef10a1436ad4ceeef0e0 to your computer and use it in GitHub Desktop.
Save Whateverable/aeaa842db32bef10a1436ad4ceeef0e0 to your computer and use it in GitHub Desktop.
evalable6
sub s($v :(::T)){ say $v.WHAT, T.^name }; s(42);
(exit code 1)
===SORRY!=== Error while compiling /tmp/GB1t8Zihwd
Can only use the : invocant marker in the signature for a method
at /tmp/GB1t8Zihwd:1
------> sub s($v :(::T)⏏){ say $v.WHAT, T.^name }; s(42);
expecting any of:
constraint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment