An example of adding to the accepted answer regarding the use of reserved word identifiers after they have been correctly declared using backlinks.
... Backticks are not considered part of the identifier; x and x have the same meaning.
Meaning we do not need to worry about using backticks after declaring an identifier (however we can):
enum Foo { case `var` case `let` case `class` case `try` } let foo = Foo.var let bar = [Foo.let, .`class`, .try] print(bar)
source share