We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15f9e08 commit 6d3808bCopy full SHA for 6d3808b
ql/ql/src/codeql_ql/ast/internal/Predicate.qll
@@ -205,7 +205,7 @@ module PredConsistency {
205
strictcount(ClasslessPredicate p0 |
206
resolvePredicateExpr(pe, p0) and
207
// aliases are expected to resolve to multiple.
208
- not exists(p0.(ClasslessPredicate).getAlias())
+ not exists(p0.getAlias())
209
) and
210
c > 1 and
211
resolvePredicateExpr(pe, p)
0 commit comments