Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created September 5, 2019 00:38
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/fdb8e601753bb0f37cde1454f22ebb5b to your computer and use it in GitHub Desktop.
Save Whateverable/fdb8e601753bb0f37cde1454f22ebb5b to your computer and use it in GitHub Desktop.
evalable6
class A { has @.xs }; my $c = \(xs => (1,2,3)); my %args = xs => [1,2,3]; my $z = \(|eager flat %args); say $z; say $c; say A.new(|$c); say A.new(|$z)'
(exit code 1)
===SORRY!=== Error while compiling /tmp/m2gFCiknhD
Two terms in a row
at /tmp/m2gFCiknhD:1
------> ; say $c; say A.new(|$c); say A.new(|$z)⏏'
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
statement modifier loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment