Created
May 2, 2019 13:48
-
-
Save Whateverable/bb75ad4c8d5e79821116575e43c376bf 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
my @a = <a b>; multi sub ($a where * eq @a.any) { say 42 }; multi sub a(*@a) { say 'WTF?' }; a('a'); a('b'); a(24) |
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/2JDiFL_AIN | |
An anonymous routine may not take a multi declarator | |
at /tmp/2JDiFL_AIN:1 | |
------> ti sub ($a where * eq @a.any) { say 42 }⏏; multi sub a(*@a) { say 'WTF?' }; a('a' | |
expecting any of: | |
horizontal whitespace | |
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