Skip to content

Commit 1dfda5b

Browse files
authored
Merge pull request #1557 from plemarquand/fix-import-warnings
Fixup some import related warnings
2 parents 4460c5c + 727de49 commit 1dfda5b

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Sources/SKSupport/LineTable.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
import LSPLogging
14+
#if canImport(os)
15+
import os
16+
#endif
1417

1518
public struct LineTable: Hashable, Sendable {
1619
@usableFromInline

Sources/SwiftExtensions/PipeAsStringHandler.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
import Foundation
14-
import SwiftExtensions
1514

1615
/// Gathers data from a stdout or stderr pipe. When it has accumulated a full line, calls the handler to handle the
1716
/// string.

Tests/SourceKitLSPTests/ExecuteCommandTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ final class ExecuteCommandTests: XCTestCase {
5858
return ApplyEditResponse(applied: true, failureReason: nil)
5959
}
6060

61-
try await testClient.send(request)
61+
let _ = try await testClient.send(request)
6262

6363
try await fulfillmentOfOrThrow([expectation])
6464

@@ -123,7 +123,7 @@ final class ExecuteCommandTests: XCTestCase {
123123
return ApplyEditResponse(applied: true, failureReason: nil)
124124
}
125125

126-
try await testClient.send(request)
126+
let _ = try await testClient.send(request)
127127

128128
try await fulfillmentOfOrThrow([expectation])
129129

0 commit comments

Comments
 (0)