ITADN

Make `LSPAny` conform to `ExpressibleByStringLiteral` etc.

#2630Openahoppen 创建于 2026-04-29
good first issuerefactoring
A
ahoppencommented
Constructing `LSPAny` objects could be simplified by making `LSPAny` conform to `ExpressibleByStringLiteral`, `ExpressibleByBoolLiteral`, `ExpressibleByDictionaryLiteral`, etc. Add these conformances in swift-tools-support and use them in sourcekit-lsp wherever possible. As this is a learning-oriented task, please don’t address this purely by using an AI tool, as described in https://github.com/swiftlang/project-operations/blob/main/contributing/ai-tools.md#learning-oriented-contributions.
3 条评论