Skip to content

Commit 934f60f

Browse files
author
David Ungar
committed
fix
1 parent aa7e646 commit 934f60f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/SwiftDriver/IncrementalCompilation/InitialStateComputer.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,9 @@ extension IncrementalCompilationState.InitialStateComputer {
162162
{
163163
let graph = ModuleDependencyGraph(self)
164164
assert(outputFileMap.onlySourceFilesHaveSwiftDeps())
165+
guard graph.populateInputDependencySourceMap() else {
166+
return nil
167+
}
165168

166169
// Every external will be an addition to the graph, but may not cause
167170
// a recompile, so includeAddedExternals is false.

0 commit comments

Comments
 (0)