From b1863e44d106b664fe59a1873bdfcc5003bc2e15 Mon Sep 17 00:00:00 2001 From: Jon Sterling Date: Sun, 28 Dec 2025 08:43:55 +0000 Subject: [PATCH] Conformance of SemanticToken to Codable, Hashable, and Sendable --- .../LanguageFeatures/SemanticTokens.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/LanguageServerProtocol/LanguageFeatures/SemanticTokens.swift b/Sources/LanguageServerProtocol/LanguageFeatures/SemanticTokens.swift index 3f9a121..9dbaa95 100644 --- a/Sources/LanguageServerProtocol/LanguageFeatures/SemanticTokens.swift +++ b/Sources/LanguageServerProtocol/LanguageFeatures/SemanticTokens.swift @@ -139,7 +139,7 @@ public struct SemanticTokensParams: Codable, Hashable, Sendable { } // https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#documentSelector -public struct SemanticToken { +public struct SemanticToken: Codable, Hashable, Sendable { // typealias EncodedTuple = (line: UInt32, char: UInt32, length: UInt32, type: UInt32, modifiers: UInt32) public let line: UInt32