Skip to content

Commit 63b8448

Browse files
committed
QL: Fix semantic merge conflict
1 parent 220f4b3 commit 63b8448

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ql/src/queries/performance/ClassPredicateDoesntMentionThis.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ predicate usesThis(ClassPredicate pred) {
1919
or
2020
// implicit this
2121
exists(PredicateCall pc | pc.getEnclosingPredicate() = pred |
22-
pc.getTarget().getDeclaration() instanceof ClassPredicate
22+
pc.getTarget() instanceof ClassPredicate
2323
)
2424
}
2525

@@ -39,7 +39,7 @@ predicate isLiteralComparison(ComparisonFormula eq) {
3939
rhs instanceof Literal
4040
or
4141
exists(NewTypeBranch nt |
42-
rhs.(Call).getTarget().getDeclaration() = nt and
42+
rhs.(Call).getTarget() = nt and
4343
count(nt.getField(_)) = 0
4444
)
4545
)

0 commit comments

Comments
 (0)