Xcode 10.2 beta, @unknown has no syntax highlighting

(Benjamin Mayo) #1

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?


(John Fairhurst) #2

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)

(Benjamin Mayo) #4