1 parent 1f380d2 commit 719e8b4Copy full SHA for 719e8b4
1 file changed
unified/ql/lib/codeql/unified/internal/LocalNameBinding.qll
@@ -317,7 +317,7 @@ private module LocalNameBindingInput implements LocalNameBindingInputSig<Locatio
317
318
predicate uncertainScope(AstNode scope) {
319
// Classes can have uncertain members due to unqualified access to inherited members.
320
- scope = any(ClassLikeDeclaration cls)
+ scope instanceof ClassLikeDeclaration
321
or
322
scope = any(TopLevel t).getBody() // Imported names are in scope here
323
0 commit comments