title: DuplicateDecl layout: article

DuplicateDecl occurs when an identifier is declared multiple times.

Example:
 var x = 1
 var x = 2