Skip to content

Commit

Permalink
Merge pull request #3780 from michaellilltokiwa/dfa--Env,-fix-logic-b…
Browse files Browse the repository at this point in the history
…ug-in-env-merging-code

dfa: Env, fix logic bug in env merging code
  • Loading branch information
michaellilltokiwa authored Sep 13, 2024
2 parents 3c046a5 + a9db754 commit 5b72f9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dev/flang/fuir/analysis/dfa/Env.java
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ else if (outer.hasEffect(et))
_types [i] = insert ? et : ot[j];
_initialEffectValues[i] = insert ? ev : oi[j];
j = j + (insert ? 0 : 1);
left = insert && left;
left = !insert && left;
}
}
_outer = outer;
Expand Down

0 comments on commit 5b72f9f

Please sign in to comment.