> For the complete documentation index, see [llms.txt](https://docs.sannybuilder.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sannybuilder.com/troubleshooting/errors/0090.md).

# 0090: Duplicate constant

The compiler finds a duplicate [constant](/language/data-types/constants.md) declaration. It happens when there is a `const..end` struct with the constant name that matches:

* another constant declared anywhere in the same file or any included files
* a local variable [declared](/language/data-types/variables.md#shorter-form-of-declaration) using `int` or `float` keywords.

For example, this code would produce an error:

```
const x = 1

int x
```

**Possible solutions:** give the constant another name.
