@@ -56,10 +56,10 @@ package struct SourceFileInfo: Sendable {
5656 /// - `.path` if the build server supports output paths and produced a result
5757 /// - `.notSupported` if the build server does not support output paths.
5858 /// - `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 ? ]
6060
6161 /// 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 }
6363
6464 /// `true` if this file belongs to the root project that the user is working on. It is false, if the file belongs
6565 /// to a dependency of the project.
@@ -79,8 +79,8 @@ package struct SourceFileInfo: Sendable {
7979 guard let other else {
8080 return self
8181 }
82- let mergedTargetsToOutputPaths = targetsToOutputPaths . merging (
83- other. targetsToOutputPaths ,
82+ let mergedTargetsToOutputPaths = targetsToOutputPath . merging (
83+ other. targetsToOutputPath ,
8484 uniquingKeysWith: { lhs, rhs in
8585 if lhs == rhs {
8686 return lhs
@@ -96,7 +96,7 @@ package struct SourceFileInfo: Sendable {
9696 }
9797 )
9898 return SourceFileInfo (
99- targetsToOutputPaths : mergedTargetsToOutputPaths,
99+ targetsToOutputPath : mergedTargetsToOutputPaths,
100100 isPartOfRootProject: other. isPartOfRootProject || isPartOfRootProject,
101101 mayContainTests: other. mayContainTests || mayContainTests,
102102 isBuildable: other. isBuildable || isBuildable
@@ -1252,7 +1252,7 @@ package actor BuildSystemManager: QueueBasedMessageHandler {
12521252 nil
12531253 }
12541254 let info = SourceFileInfo (
1255- targetsToOutputPaths : [ sourcesItem. target: outputPath] ,
1255+ targetsToOutputPath : [ sourcesItem. target: outputPath] ,
12561256 isPartOfRootProject: isPartOfRootProject,
12571257 mayContainTests: mayContainTests,
12581258 isBuildable: !( target? . tags. contains ( . notBuildable) ?? false )
0 commit comments