Skip to content

Commit b1bcbec

Browse files
committed
Use slightly less confusing syntax
1 parent 1d9a93a commit b1bcbec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

go/ql/lib/semmle/go/dataflow/internal/DataFlowPrivate.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ predicate jumpStep(Node n1, Node n2) {
134134
lastUse = getAnAdjacentUse*(def.getAFirstUse()) and
135135
not exists(getAnAdjacentUse(lastUse))
136136
|
137-
[n1, n1.(DataFlow::PostUpdateNode).getPreUpdateNode()] = instructionNode(lastUse)
137+
n1 = instructionNode(lastUse) or
138+
n1.(DataFlow::PostUpdateNode).getPreUpdateNode() = instructionNode(lastUse)
138139
)
139140
)
140141
or

0 commit comments

Comments
 (0)