E2002 Syntax Errors

Syntax

missing symbol; expected a bracket, parenthesis, or keyword

When this occurs

Missing expected token

Example error message

error[E2002]: expected RPAREN, got IDENT instead

How to fix

Add the expected token (semicolon, brace, parenthesis, etc.) at the indicated location.

Related errors