Skip to content

Commit 62c05bc

Browse files
committed
Fix bug in OpReplacer
loop index incremented twice, did not occur yet as our quantifiers bind one variable at a time
1 parent 9699664 commit 62c05bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

key.core/src/main/java/de/uka/ilkd/key/proof/OpReplacer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ public ImmutableArray<QuantifiableVariable> replace(
348348
for (int i = 0, n = vars.size(); i < n; i++) {
349349
QuantifiableVariable qv = vars.get(i);
350350
QuantifiableVariable newQv = (QuantifiableVariable) replace(qv);
351-
result[i++] = newQv;
351+
result[i] = newQv;
352352
if (newQv != qv) {
353353
changed = true;
354354
}

0 commit comments

Comments
 (0)