Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created August 28, 2019 09:45
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/4ca1a1d6d8670470d43be278a7385584 to your computer and use it in GitHub Desktop.
Save Whateverable/4ca1a1d6d8670470d43be278a7385584 to your computer and use it in GitHub Desktop.
evalable6
sub a ($aa is rw, :$all = False) { $all ?? 1, 2 !! 1}; my $l = a($); $l.say;
(exit code 1)
===SORRY!=== Error while compiling /tmp/sVRR6ieSYC
Precedence of , is too loose to use inside ?? !!; please parenthesize
at /tmp/sVRR6ieSYC:1
------> a ($aa is rw, :$all = False) { $all ?? 1⏏, 2 !! 1}; my $l = a($); $l.say;
expecting any of:
infix
infix stopper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment