mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
When removing the LanguageServerProtocol namespace from types in ClientCapabilities (#1734), some types inadvertently started shadowing themselves. This lead to client initialization errors when the initialization request couldn't be decoded: ``` type mismatch at params.capabilities.textDocument.completion.completionItemKind.valueSet.Index 0 : Expected to decode Dictionary<String, Any> but found number instead. ``` Disambiguating these inner types in ClientCapabilities fixes decoding.