Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created March 1, 2020 15:10
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/e50abf9e0db4356eee9562cce1a32ce4 to your computer and use it in GitHub Desktop.
Save Whateverable/e50abf9e0db4356eee9562cce1a32ce4 to your computer and use it in GitHub Desktop.
evalable6
say <Hello, World>.contains(/Hello/, 0);
(exit code 1)
Cannot resolve caller contains(List:D: Regex:D, Int:D); none of these signatures match:
(List:D: Cool:D \needle, *%_)
(Cool:D: Cool:D $needle, :i(:$ignorecase)!, :m(:$ignoremark), *%_ --> Bool)
(Cool:D: Cool:D $needle, :m(:$ignoremark)!, *%_ --> Bool)
(Cool:D: Cool:D $needle, *%_ --> Bool)
(Cool:D: Cool:D $needle, Cool:D $pos, :i(:$ignorecase)!, :m(:$ignoremark), *%_ --> Bool)
(Cool:D: Cool:D $needle, Cool:D $pos, :m(:$ignoremark)!, *%_ --> Bool)
(Cool:D: Cool:D $needle, Cool:D $pos, *%_ --> Bool)
in block <unit> at /tmp/WQfL5Z3Icm line 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment