 
   private mutating func addAutolinkExtractJob(
     linkerInputs: [TypedVirtualPath],
-    addLinkerInputs: ([TypedVirtualPath]) -> Void,
+    addLinkerInput: (TypedVirtualPath) -> Void,
     addJob: (Job) -> Void)
   throws
   {
     let autolinkInputs = linkerInputs.filter { $0.type == .object }
     if let autolinkExtractJob = try autolinkExtractJob(inputs: autolinkInputs) {
       addJob(autolinkExtractJob)
-      addLinkerInputs(autolinkExtractJob.outputs)
+      autolinkExtractJob.outputs.forEach(addLinkerInput)
     }
   }
 
   private mutating func addWrapJobOrMergeOutputs(mergeJob: Job,
                                                  debugInfo: DebugInfo,
                                                  addJob: (Job) -> Void,
-                                                 addLinkerInputs: ([TypedVirtualPath]) -> Void)
+                                                 addLinkerInput: (TypedVirtualPath) -> Void)
   throws {
     guard case .astTypes = debugInfo.level
     else { return }

        mergeJob: mergeJob,
        debugInfo: debugInfo,
        addJob: addJob,
        addLinkerInputs: addLinkerInputs)
    }
    return linkerInputs
  }


    var linkerInputs = [TypedVirtualPath]()
    func addLinkerInput(_ li: TypedVirtualPath) { linkerInputs.append(li) }

    var moduleInputs = [TypedVirtualPath]()
    func addModuleInput(_ mi: TypedVirtualPath) { moduleInputs.append(mi) }
