mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Merge pull request #20243 from hvitved/rust/canonical-path-transitive-deps
Rust: Take transitive dependencies into account when computing canonical paths
This commit is contained in:
@@ -615,7 +615,7 @@ class ImplItemNode extends ImplOrTraitItemNode instanceof Impl {
|
|||||||
if this.hasCanonicalPath(c2)
|
if this.hasCanonicalPath(c2)
|
||||||
then c1 = c2
|
then c1 = c2
|
||||||
else (
|
else (
|
||||||
c2 = c1.getADependency() or c1 = c2.getADependency()
|
c2 = c1.getADependency+() or c1 = c2.getADependency+()
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user