We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34d6a4d commit 55565a5Copy full SHA for 55565a5
1 file changed
javascript/ql/src/semmle/javascript/GlobalAccessPaths.qll
@@ -444,7 +444,7 @@ module AccessPath {
444
ref = getAccessTo(root, path, _) and
445
ref.getBasicBlock() = bb
446
|
447
- ref order by any(int i | ref.asExpr().getEnclosingStmt() = bb.getNode(i))
+ ref order by any(int i | ref.asExpr() = bb.getNode(i))
448
) and
449
result = getAccessTo(root, path, type)
450
}
0 commit comments