Last active
July 8, 2016 02:44
-
-
Save salortiz/56ed771aa6d40d993ee3b65baadeef92 to your computer and use it in GitHub Desktop.
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
--- a/src/core/Any-iterable-methods.pm | |
+++ b/src/core/Any-iterable-methods.pm | |
@@ -902,7 +902,7 @@ Did you mean to add a stub (\{...\}) or did you mean to .classify?" | |
todo = $elems; | |
my $value; | |
- return $value | |
+ return nqp::istype($value, Failure) ?? $value.throw !! $value | |
if nqp::isconcrete($value := self.AT-POS(i)) | |
while nqp::islt_i(++i,todo); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment