Xcode 10.2 beta, @unknown has no syntax highlighting

Xcode renders the new enum case attribute @unknown as plain black text, i.e. without syntax highlighting. I assume it should be coloured the same as keywords like case. Should I file a Radar or Swift bug for this?

15

Swift I think: syntax model needs to be taught about this special attribute.

Thank you! Please file an issue to JIRA (https://bugs.swift.org)

SR-9873.

1 Like