E2014 Syntax Errors

Syntax

duplicate variant name '%s' in enum '%s'

When this occurs

`do foo(x)` without type

Example error message

error[E2014]: parameter 'x' is missing a type

How to fix

Add a type annotation to your parameter: `do foo(x int)` not `do foo(x)`.

Related errors