[SR-9873] @unknown
attribute not syntax highlighted in Xcode 10.2
#52279
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Attachment: Download
Environment
Xcode 10.2 beta (seed 2 and seed 1)
Additional Detail from JIRA
md5: 6d195e7031d50061a0b8d7b08d0643c2
Issue Description:
The new `@unknown` attribute for non-exhaustive enums does not syntax highlight correctly in Xcode 10.2.
This can be reproduced in a new Swift Xcode project, switching over an enum and adding the `@unknown` attribute to the `default` case of the switch. As shown in the screenshot attachment, it renders as plain text black rather than the keyword colour tint. ![](Screenshot 2019-02-06 at 11.01.15.PNG)
The text was updated successfully, but these errors were encountered: