Skip to content

Instantly share code, notes, and snippets.

@peschwa
Created April 24, 2016 13:27
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 peschwa/cf6314bd118f4b64edd60ce4ad855f25 to your computer and use it in GitHub Desktop.
Save peschwa/cf6314bd118f4b64edd60ce4ad855f25 to your computer and use it in GitHub Desktop.
$ ./perl6 -e'sub f($ where * < 2 where * > 0) { }; f 3'
Constraint type check failed for parameter '<anon>'
value 3 does not satisfy where * < 2 where * > 0
in sub f at -e line 1
in block <unit> at -e line 1
$ ./perl6 test.pl
Usage:
test.pl <args where sub { False }>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment