Skip to content

Commit 252e07c

Browse files
author
David Ungar
committed
name change
1 parent 3fbe8f0 commit 252e07c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/SwiftDriver/IncrementalCompilation/IncrementalCompilationState.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ extension OutputFileMap {
552552
let currentSet: Set<VirtualPath.Handle>
553553

554554
/// Handles of the input files in the previous invocation
555-
private let previous: Set<VirtualPath.Handle>
555+
private let previousSet: Set<VirtualPath.Handle>
556556

557557
/// The files that were in the previous but not in the current invocation
558558
let disappeared: [VirtualPath]
@@ -564,7 +564,7 @@ extension OutputFileMap {
564564
currentSet.insert(currentFile.fileHandle)
565565
}
566566
guard let buildRecord = buildRecord else {
567-
self.previous = Set()
567+
self.previousSet = Set()
568568
self.disappeared = []
569569
return
570570
}
@@ -577,11 +577,11 @@ extension OutputFileMap {
577577
disappeared.append(prevPath)
578578
}
579579
}
580-
self.previous = previous
580+
self.previousSet = previous
581581
self.disappeared = disappeared.sorted {$0.name < $1.name}
582582
}
583583

584584
func isANewInput(_ file: VirtualPath) -> Bool {
585-
!previous.contains(file.intern())
585+
!previousSet.contains(file.intern())
586586
}
587587
}

0 commit comments

Comments
 (0)