We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06afe9c commit c225605Copy full SHA for c225605
ql/ql/src/codeql_ql/ast/internal/Predicate.qll
@@ -209,7 +209,9 @@ module PredConsistency {
209
not exists(p0.getAlias())
210
) and
211
c > 1 and
212
- resolvePredicateExpr(pe, p)
+ resolvePredicateExpr(pe, p) and
213
+ // parameterized modules are expected to resolve to multiple.
214
+ not exists(Predicate sig | not exists(sig.getBody()) and resolvePredicateExpr(pe, sig))
215
}
216
217
query predicate multipleResolveCall(Call call, int c, PredicateOrBuiltin p) {
0 commit comments