> 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/0113.md).

# 0113: Duplicate function declaration

Compiler found a duplicate [function declaration](/language/functions.md#signature) in current scope. Each function should have a unique name and duplicates are not allowed:

```pascal
function foo
end

function foo // Error: Duplicate function declaration foo.
end
```

#### Possible solutions:

* rename the function to give it a unique name
