Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created January 20, 2017 06: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/1c806c0dc7f836513e49a3791b3ce481 to your computer and use it in GitHub Desktop.
Save Whateverable/1c806c0dc7f836513e49a3791b3ce481 to your computer and use it in GitHub Desktop.
committable6
46838d5c^,46838d5c class C { method m(Int $a) { } }; say C.^lookup('m') ~~ :(C: Int)
¦«46838d5c^»: ===SORRY!=== Error while compiling /tmp/PiqL2YIu11
Can only use the : invocant marker in the signature for a method
at /tmp/PiqL2YIu11:1
------> a) { } }; say C.^lookup('m') ~~ :(C: Int⏏)
expecting any of:
constraint
formal parameter «exit code = 1»
¦«46838d5»: False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment