Skip to content

Commit 22e13b9

Browse files
authored
Merge pull request #444 from davidungar/letify
[NFC, Incremental] Use let's instead of var's for the ChangedInput struct.
2 parents f66dac9 + 50b3ab9 commit 22e13b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/SwiftDriver/IncrementalCompilation/IncrementalCompilationState.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,12 +342,12 @@ extension IncrementalCompilationState {
342342
/// changed in a way that requires an incremental rebuild.
343343
struct ChangedInput {
344344
/// The path to the input file.
345-
var filePath: TypedVirtualPath
345+
let filePath: TypedVirtualPath
346346
/// The status of the input file.
347-
var status: InputInfo.Status
347+
let status: InputInfo.Status
348348
/// If `true`, the modification time of this input matches the modification
349349
/// time recorded from the prior build in the build record.
350-
var datesMatch: Bool
350+
let datesMatch: Bool
351351
}
352352

353353
/// Find the inputs that have changed since last compilation, or were marked as needed a build

0 commit comments

Comments
 (0)