Skip to content

Commit

Permalink
Update assertion/function/preprocess/cfg.go
Browse files Browse the repository at this point in the history
Co-authored-by: Sonal Mahajan <[email protected]>
  • Loading branch information
yuxincs and sonalmahajan15 committed Oct 4, 2024
1 parent 9f50564 commit f9f73a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assertion/function/preprocess/cfg.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ func (p *Preprocessor) restructureConditional(graph *cfg.CFG, thisBlock *cfg.Blo
newCond := &ast.BinaryExpr{
X: x,
Y: y,
Op: token.EQL, // SplitBlockOn discussed, we change the operator to EQL here.
Op: token.EQL, // As discussed, we change the operator to EQL here.
OpPos: cond.OpPos,
}
// Replace the condition, and swap the branches since we modified a NEQ conditional
Expand Down

0 comments on commit f9f73a6

Please sign in to comment.