File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Sources/SwiftDriver/IncrementalCompilation Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -552,7 +552,7 @@ extension OutputFileMap {
552
552
let currentSet : Set < VirtualPath . Handle >
553
553
554
554
/// Handles of the input files in the previous invocation
555
- private let previous : Set < VirtualPath . Handle >
555
+ private let previousSet : Set < VirtualPath . Handle >
556
556
557
557
/// The files that were in the previous but not in the current invocation
558
558
let disappeared : [ VirtualPath ]
@@ -564,7 +564,7 @@ extension OutputFileMap {
564
564
currentSet. insert ( currentFile. fileHandle)
565
565
}
566
566
guard let buildRecord = buildRecord else {
567
- self . previous = Set ( )
567
+ self . previousSet = Set ( )
568
568
self . disappeared = [ ]
569
569
return
570
570
}
@@ -577,11 +577,11 @@ extension OutputFileMap {
577
577
disappeared. append ( prevPath)
578
578
}
579
579
}
580
- self . previous = previous
580
+ self . previousSet = previous
581
581
self . disappeared = disappeared. sorted { $0. name < $1. name}
582
582
}
583
583
584
584
func isANewInput( _ file: VirtualPath ) -> Bool {
585
- !previous . contains ( file. intern ( ) )
585
+ !previousSet . contains ( file. intern ( ) )
586
586
}
587
587
}
You can’t perform that action at this time.
0 commit comments