Skip to content

Make areConsecutiveInputsEqual more precise#8783

Open
tlively wants to merge 1 commit into
mainfrom
fix-consecutive-equal-left-effects
Open

Make areConsecutiveInputsEqual more precise#8783
tlively wants to merge 1 commit into
mainfrom
fix-consecutive-equal-left-effects

Conversation

@tlively
Copy link
Copy Markdown
Member

@tlively tlively commented May 28, 2026

Collect the interfering effects specifically from the expressions that are evaluated in between the LHS and RHS fallthrough values. The previous code overapproximated this by collecting all effects from the LHS and RHS expressions, whether or not the effects were due to subexpressions that would have been evaluated before or after the LHS and RHS values. Also use a direction-aware effect ordering check.

Collect the interfering effects specifically from the expressions that are evaluated in between the LHS and RHS fallthrough values. The previous code overapproximated this by collecting all effects from the LHS and RHS expressions, whether or not the effects were due to subexpressions that would have been evaluated before or after the LHS and RHS values. Also use a direction-aware effect ordering check.
@tlively tlively requested a review from a team as a code owner May 28, 2026 00:54
@tlively tlively requested review from kripken and stevenfontanella and removed request for a team May 28, 2026 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant