Created
October 5, 2018 11:24
-
-
Save Whateverable/3448140b3df245738f0cf5277c3f0986 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
sub f(IO::Path:D $target where { *.f && *.extension eq "zip" }) { }; say f ".".IO; |
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/ZBvMdksnWZ | |
Malformed double closure; WhateverCode is already a closure without curlies, so either remove the curlies or use valid parameter syntax instead of * | |
at /tmp/ZBvMdksnWZ:1 | |
------> et where { *.f && *.extension eq "zip" }⏏) { }; say f ".".IO; | |
expecting any of: | |
horizontal whitespace | |
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