Created
September 5, 2019 00:38
-
-
Save Whateverable/fdb8e601753bb0f37cde1454f22ebb5b to your computer and use it in GitHub Desktop.
evalable6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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