Skip to content

Commit fe8b466

Browse files
committed
QL: Work around import of internal file.
1 parent df972ee commit fe8b466

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

ql/src/queries/style/UseSetLiteral.ql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
*/
1010

1111
import ql
12-
import codeql_ql.ast.internal.Predicate // TODO: for PredicateOrBuiltin
1312

1413
/**
1514
* A chain of disjunctions treated as one object. For example the following is
@@ -106,7 +105,7 @@ class CallLiteral extends Call {
106105
class DisjunctionPredicateLiteral extends DisjunctionChain {
107106
DisjunctionPredicateLiteral() {
108107
// Call to the same target
109-
exists(PredicateOrBuiltin target |
108+
exists(AstNode target |
110109
forex(Formula f | f = getAnOperandRec() | f.(CallLiteral).getTarget() = target)
111110
)
112111
}

0 commit comments

Comments
 (0)