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 fcdba7c commit 79a8f96Copy full SHA for 79a8f96
ql/ql/src/codeql_ql/ast/internal/Module.qll
@@ -391,5 +391,6 @@ module ModConsistency {
391
not i.getResolvedModule().getEnclosing*().asModule().hasParameter(_, _, _)
392
}
393
394
- query predicate noResolve(Import i) { not exists(i.getResolvedModule()) }
+ // not a query predicate, because this fails when running qltests, but it passes on the real thing (so it's used in EmptyConsistencies.ql)
395
+ predicate noResolve(Import i) { not exists(i.getResolvedModule()) }
396
0 commit comments