Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created April 5, 2019 13:23
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/eb798b02010aaa855a5dd28c95ad88b5 to your computer and use it in GitHub Desktop.
Save Whateverable/eb798b02010aaa855a5dd28c95ad88b5 to your computer and use it in GitHub Desktop.
evalable6
sub bla(Int $bla is copy) { given $copy { $copy++ } }; bla 41 # it would be great if it return 42...
(exit code 1)
===SORRY!=== Error while compiling /tmp/xlwREfqr4d
Variable '$copy' is not declared. Did you mean '&copy'?
at /tmp/xlwREfqr4d:1
------> sub bla(Int $bla is copy) { given ⏏$copy { $copy++ } }; bla 41 # it would b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment