Skip to content

Commit b41c85b

Browse files
author
David Ungar
authored
Merge pull request #689 from davidungar/fix-double-spaces-in-remarks
[NFC] Remove double-spaces and add clarification to two incremental diagnostics
2 parents d880e2e + ed89376 commit b41c85b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/SwiftDriver/IncrementalCompilation/IncrementalDependencyAndInputSetup.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ extension IncrementalCompilationState {
165165
if let reporter = reporter {
166166
reporter.report(
167167
"Incremental compilation has been disabled, "
168-
+ " because the following inputs were used in the previous compilation but not in this one: "
168+
+ "because the following inputs were used in the previous compilation but not in this one: "
169169
+ sourceFiles.disappeared.map { $0.basename }.joined(separator: ", "))
170170
}
171171
return nil

Sources/SwiftDriver/IncrementalCompilation/ModuleDependencyGraph.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ extension OutputFileMap {
218218
else {
219219
// The legacy driver fails silently here.
220220
diagnosticEngine.emit(
221-
.remarkDisabled("\(sourceFile.file.basename) has no swiftDeps file")
221+
.remarkDisabled("\(sourceFile.file.basename) has no swiftDeps file in the output file map")
222222
)
223223
return nil
224224
}

0 commit comments

Comments
 (0)