Skip to content

Commit 6d313cf

Browse files
committed
QL: We can use PredicateOrBuiltin now.
1 parent fe8b466 commit 6d313cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ql/src/queries/style/UseSetLiteral.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class CallLiteral extends Call {
105105
class DisjunctionPredicateLiteral extends DisjunctionChain {
106106
DisjunctionPredicateLiteral() {
107107
// Call to the same target
108-
exists(AstNode target |
108+
exists(PredicateOrBuiltin target |
109109
forex(Formula f | f = getAnOperandRec() | f.(CallLiteral).getTarget() = target)
110110
)
111111
}

0 commit comments

Comments
 (0)