mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
If a 'nil' literal occurs in a swift-case statment, it gets replaced by a reference to 'Optional.none' in the AST. We want to continue highlighting 'nil' as a keyword and not as an enum element. Resolves apple/sourcekit-lsp#599 rdar://97961865
94 KiB
94 KiB