We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e413c5f commit 0d68faaCopy full SHA for 0d68faa
Sources/SwiftDriver/ExplicitModuleBuilds/InterModuleDependencies/CommonDependencyOperations.swift
@@ -424,7 +424,8 @@ internal extension InterModuleDependencyGraph {
424
}
425
426
for dependency in allDependencies {
427
- if try findAPath(source: dependency,
+ if !visited.contains(dependency),
428
+ try findAPath(source: dependency,
429
pathSoFar: pathSoFar + [dependency],
430
visited: &visited,
431
result: &result,
0 commit comments