Current token is unexpected.

#2135   Compile-time error

Current token is unexpected.

Additional Information

For token 'X'.

Explanation

The current token comes in a place where it is not allowed. Usually this occurs when a close paren or brace is either unmatched, or terminates an expression that is not complete.