Created
August 12, 2015 18:16
-
-
Save niner/fe8f0f4df17f84d7e0d5 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
diff --git a/src/core/Any-iterable-methods.pm b/src/core/Any-iterable-methods.pm | |
index 653505d..c363301 100644 | |
--- a/src/core/Any-iterable-methods.pm | |
+++ b/src/core/Any-iterable-methods.pm | |
@@ -108,7 +108,7 @@ augment class Any { | |
nqp::if( | |
nqp::eqaddr($result, IterationEnd), | |
nqp::stmts( | |
- ($value = $!source.pull-one()), | |
+ ($value := $!source.pull-one()), | |
($redo = 1 unless nqp::eqaddr($value, IterationEnd)) | |
)) | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment