mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +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