Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Workaround some mysterious bug. Makes all tests pass, leaving but one…

… warning in runtime.t
  • Loading branch information...
commit a0fb1fbb795d6365189a51cd4c929978af13fa22 1 parent fe672a7
@tadzik authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Yapsi.pm
View
2  lib/Yapsi.pm
@@ -776,7 +776,7 @@ class Yapsi::Runtime {
reg[+$0] = reg[+$0] eq 'Any()' ?? 1 !! reg[+$0] - 1;
}
when / ^ 'jf $'(\d+)', '(\S+) $ / {
- if reg[+$0] == 0 {
+ if reg[+$0] eq 'Any()' or reg[+$0] == 0 {
$ip = find-label(@sic, ~$1);
}
self.?tick;
Please sign in to comment.
Something went wrong with that request. Please try again.