Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created September 7, 2019 14:42
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/90ebd93a7571aad7cca2900e437d5935 to your computer and use it in GitHub Desktop.
Save Whateverable/90ebd93a7571aad7cca2900e437d5935 to your computer and use it in GitHub Desktop.
evalable6
my &filter = { 'Str' }; sub a(&f where .() ~~ Int) { say f }; a &filter
(exit code 1)
Constraint type check failed in binding to parameter '&f'; expected anonymous constraint to be met but got -> ;; $_? is raw { #`...
in sub a at /tmp/N9mnFm8mCN line 1
in block <unit> at /tmp/N9mnFm8mCN line 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment