QL: Work around import of internal file.

This commit is contained in:
Geoffrey White
2021-10-13 15:17:00 +01:00
parent df972eeb05
commit fe8b466ff0

View File

@@ -9,7 +9,6 @@
*/
import ql
import codeql_ql.ast.internal.Predicate // TODO: for PredicateOrBuiltin
/**
* A chain of disjunctions treated as one object. For example the following is
@@ -106,7 +105,7 @@ class CallLiteral extends Call {
class DisjunctionPredicateLiteral extends DisjunctionChain {
DisjunctionPredicateLiteral() {
// Call to the same target
exists(PredicateOrBuiltin target |
exists(AstNode target |
forex(Formula f | f = getAnOperandRec() | f.(CallLiteral).getTarget() = target)
)
}