Last active
July 8, 2016 02:44
This file contains hidden or 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