Skip to content

Mark Symbol as Sendable #218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Sources/IndexStoreDB/Symbol.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@_implementationOnly
import CIndexStoreDB

public enum IndexSymbolKind: Hashable {
public enum IndexSymbolKind: Hashable, Sendable {
case unknown
case module
case namespace
Expand Down Expand Up @@ -45,14 +45,14 @@ public enum IndexSymbolKind: Hashable {
case commentTag
}

public enum Language: Hashable {
public enum Language: Hashable, Sendable {
case c
case cxx
case objc
case swift
}

public struct Symbol: Hashable {
public struct Symbol: Hashable, Sendable {

public var usr: String
public var name: String
Expand Down