Skip to content

Commit 0a41785

Browse files
committed
Mark SymbolProperty and SymbolRole as Sendable
This allows us to build the `SourceKitLSP` module in Swift 6 mode.
1 parent 96db57f commit 0a41785

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/IndexStoreDB/SymbolProperty.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@_implementationOnly
1414
import CIndexStoreDB
1515

16-
public struct SymbolProperty: OptionSet, Hashable {
16+
public struct SymbolProperty: OptionSet, Hashable, Sendable {
1717
public var rawValue: UInt64
1818

1919
public static let generic: SymbolProperty = SymbolProperty(rawValue: INDEXSTOREDB_SYMBOL_PROPERTY_GENERIC)

Sources/IndexStoreDB/SymbolRole.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@_implementationOnly
1414
import CIndexStoreDB
1515

16-
public struct SymbolRole: OptionSet, Hashable {
16+
public struct SymbolRole: OptionSet, Hashable, Sendable {
1717

1818
public var rawValue: UInt64
1919

0 commit comments

Comments
 (0)