mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
Basically everything will be decoded as ClangWorkspaceSettings, even if it has nothing to do wit hit, yielding for example: ``` clangd(LanguageServerProtocol.ClangWorkspaceSettings(compilationDatabasePath: nil, compilationDatabaseChanges: nil)) ``` This breaks at least my case of using WorkspaceSettingsChange. This patch adds a - maybe bandaid - fix for that. Furthermore I removed one Test, as it - AFAIU - broke the invariant that none of the attributes of ClangWorkspaceSettings may be nil.