@@ -56,10 +56,10 @@ package struct SourceFileInfo: Sendable {
56
56
/// - `.path` if the build server supports output paths and produced a result
57
57
/// - `.notSupported` if the build server does not support output paths.
58
58
/// - `nil` if the build server supports output paths but did not return an output path for this file in this target.
59
- package var targetsToOutputPaths : [ BuildTargetIdentifier : OutputPath ? ]
59
+ package var targetsToOutputPath : [ BuildTargetIdentifier : OutputPath ? ]
60
60
61
61
/// The targets that this source file is a member of
62
- package var targets : some Collection < BuildTargetIdentifier > & Sendable { targetsToOutputPaths . keys }
62
+ package var targets : some Collection < BuildTargetIdentifier > & Sendable { targetsToOutputPath . keys }
63
63
64
64
/// `true` if this file belongs to the root project that the user is working on. It is false, if the file belongs
65
65
/// to a dependency of the project.
@@ -79,8 +79,8 @@ package struct SourceFileInfo: Sendable {
79
79
guard let other else {
80
80
return self
81
81
}
82
- let mergedTargetsToOutputPaths = targetsToOutputPaths . merging (
83
- other. targetsToOutputPaths ,
82
+ let mergedTargetsToOutputPaths = targetsToOutputPath . merging (
83
+ other. targetsToOutputPath ,
84
84
uniquingKeysWith: { lhs, rhs in
85
85
if lhs == rhs {
86
86
return lhs
@@ -96,7 +96,7 @@ package struct SourceFileInfo: Sendable {
96
96
}
97
97
)
98
98
return SourceFileInfo (
99
- targetsToOutputPaths : mergedTargetsToOutputPaths,
99
+ targetsToOutputPath : mergedTargetsToOutputPaths,
100
100
isPartOfRootProject: other. isPartOfRootProject || isPartOfRootProject,
101
101
mayContainTests: other. mayContainTests || mayContainTests,
102
102
isBuildable: other. isBuildable || isBuildable
@@ -1252,7 +1252,7 @@ package actor BuildSystemManager: QueueBasedMessageHandler {
1252
1252
nil
1253
1253
}
1254
1254
let info = SourceFileInfo (
1255
- targetsToOutputPaths : [ sourcesItem. target: outputPath] ,
1255
+ targetsToOutputPath : [ sourcesItem. target: outputPath] ,
1256
1256
isPartOfRootProject: isPartOfRootProject,
1257
1257
mayContainTests: mayContainTests,
1258
1258
isBuildable: !( target? . tags. contains ( . notBuildable) ?? false )
0 commit comments