mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-06 18:24:36 +01:00
Merge pull request #1919 from ahoppen/output-redirection-sendable
Mark all closures in the `.stream` outputRedirection of TSC as `@Sendable`
This commit is contained in:
@@ -653,8 +653,8 @@ package actor SwiftPMBuildSystem: BuiltInBuildSystem {
|
||||
arguments: arguments,
|
||||
workingDirectory: nil,
|
||||
outputRedirection: .stream(
|
||||
stdout: { stdoutHandler.handleDataFromPipe(Data($0)) },
|
||||
stderr: { stderrHandler.handleDataFromPipe(Data($0)) }
|
||||
stdout: { @Sendable bytes in stdoutHandler.handleDataFromPipe(Data(bytes)) },
|
||||
stderr: { @Sendable bytes in stderrHandler.handleDataFromPipe(Data(bytes)) }
|
||||
)
|
||||
)
|
||||
let exitStatus = result.exitStatus.exhaustivelySwitchable
|
||||
|
||||
Reference in New Issue
Block a user