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.
2 parents 873d47b + 18de710 commit 5df8f3dCopy full SHA for 5df8f3d
Sources/BuildSystemIntegration/BuildSystemManager.swift
@@ -1071,7 +1071,7 @@ package actor BuildSystemManager: QueueBasedMessageHandler {
1071
dependents[dependency, default: []].insert(target)
1072
// Check if we have already recorded this target with a greater depth, in which case visiting it again will
1073
// not increase its depth or any of its children.
1074
- if depths[target, default: 0] < depth + 1 {
+ if depths[dependency, default: 0] < depth + 1 {
1075
worksList.append((dependency, depth + 1))
1076
}
1077
0 commit comments