Last active
October 29, 2015 19:41
-
-
Save usev6/8bd78b697a2e1367e381 to your computer and use it in GitHub Desktop.
unbreak jvm build
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/Str.pm b/src/core/Str.pm | |
index 4b9fdb0..5cf4dcd 100644 | |
--- a/src/core/Str.pm | |
+++ b/src/core/Str.pm | |
@@ -907,7 +907,7 @@ my class Str does Stringy { # declared in BOOTSTRAP | |
$!todo = $!todo - 1; | |
my int $found = nqp::index($!string,$!match,$!pos); | |
$found < 0 | |
- ?? $!todo = 0 | |
+ ?? ($!todo = 0) | |
!! $target.push(self!next-part($found)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment