Skip to content

Commit 60b2cf6

Browse files
committed
Rust: Take transitive dependencies into account when computing canonical paths
1 parent bb9daa0 commit 60b2cf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/ql/lib/codeql/rust/internal/PathResolution.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ class ImplItemNode extends ImplOrTraitItemNode instanceof Impl {
615615
if this.hasCanonicalPath(c2)
616616
then c1 = c2
617617
else (
618-
c2 = c1.getADependency() or c1 = c2.getADependency()
618+
c2 = c1.getADependency+() or c1 = c2.getADependency+()
619619
)
620620
)
621621
}

0 commit comments

Comments
 (0)