Skip to content

Commit 7e0f0a8

Browse files
committed
Adjustments to allow SourceKit-LSP to build in Swift 6 mode
1 parent d259704 commit 7e0f0a8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Sources/ISDBTestSupport/TibsTestWorkspace.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ extension XCTestCase {
304304
}()
305305

306306
/// The path to the built products directory.
307-
public static var productsDirectory: URL = {
307+
public static let productsDirectory: URL = {
308308
#if os(macOS)
309309
return testBundle.bundleURL.deletingLastPathComponent()
310310
#else

Sources/IndexStoreDB/IndexStoreDB.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public struct PathMapping {
3838
}
3939
}
4040

41-
public enum SymbolProviderKind {
41+
public enum SymbolProviderKind: Sendable {
4242
case clang
4343
case swift
4444

Sources/IndexStoreDB/SymbolLocation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import CIndexStoreDB
1515
import Foundation
1616

17-
public struct SymbolLocation: Equatable {
17+
public struct SymbolLocation: Equatable, Sendable {
1818
public var path: String
1919
/// The date at which the unit file that contains a symbol has last been modified.
2020
public var timestamp: Date

0 commit comments

Comments
 (0)