Skip to content

Commit c825577

Browse files
committed
QL: fix visibility of module parameters
1 parent bad5c65 commit c825577

File tree

1 file changed

+1
-1
lines changed
  • ql/ql/src/codeql_ql/ast/internal

1 file changed

+1
-1
lines changed

ql/ql/src/codeql_ql/ast/internal/Type.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ private predicate defines(FileOrModule m, string name, Type t, boolean public) {
387387
exists(Module mod, SignatureExpr param, int i |
388388
m.asModule() = mod and
389389
mod.hasParameter(i, name, param) and
390-
public = true
390+
public = false
391391
|
392392
// resolve to the signature class
393393
t = param.asType().getResolvedType()

0 commit comments

Comments
 (0)