From: Jay Freeman (saurik) Date: Mon, 12 Oct 2015 09:26:00 +0000 (-0700) Subject: Fix for-of loops (an internal variable was wrong). X-Git-Tag: v0.9.503~4 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/55c63f1de4cd63a773c55b06499c2c827bfbd14f Fix for-of loops (an internal variable was wrong). --- diff --git a/Replace.cpp b/Replace.cpp index f6d904c..155aa58 100644 --- a/Replace.cpp +++ b/Replace.cpp @@ -406,7 +406,7 @@ CYFunctionParameter *CYForOfComprehension::Parameter(CYContext &context) const { } CYStatement *CYForOfComprehension::Replace(CYContext &context, CYStatement *statement) const { - CYIdentifier *cys($I("cys")); + CYIdentifier *cys($I("$cys")); return $E($C0($F(NULL, $P1($L("$cys")), $$->* $E($ CYAssign($V(cys), set_))->*