I am reading the syntax definition of key path in Swift Reference - key-path-expression.
key-path-expression → \ type_opt . key-path-components
In this definition, it is easy to see that a key path contains at least one dot character .
, but
\[Int][0]
is legal, why?