We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b54602b commit 33c2d9eCopy full SHA for 33c2d9e
Sources/SWBCore/LibSwiftDriver/LibSwiftDriver.swift
@@ -100,6 +100,10 @@ private struct GlobalExplicitDependencyTracker {
100
assertionFailure("Unexpectedly found a regular job in 'plannedExplicitDependencyJobs'")
101
continue
102
}
103
+ guard plannedExplicitDependencyJobs.indices.contains(index) else {
104
+ assertionFailure("Unexpectedly found an out of bounds job index into 'plannedExplicitDependencyJobs'")
105
+ continue
106
+ }
107
let job = plannedExplicitDependencyJobs[index]
108
assert(job.key == key)
109
jobs.append(job)
0 commit comments