lightspark/lightspark — comment on commit dabaf7008f647af2beff5f51f7d0ac34f7ecafde
File:  line 0
By dbluelle:

this comit breaks about 10000 tamarin testcases.
I don't know if it's correct, but if i move the i++ statement inside the while loop after the check,
all broken testcases are working again:

@@ -2225,9 +2237,9 @@ void SyntheticFunction::acquireScope(const std::vector& scope)
auto end = scope.end();
for(; it != end; ++it)
{
-	i++;
if(i > mi->body->init_scope_depth)
break;
+	i++;
func_scope.emplace_back(*it);
}
}