For the complete documentation index, see llms.txt. This page is also available as Markdown.

0113: Duplicate function declaration

Compiler found a duplicate function declaration in current scope. Each function should have a unique name and duplicates are not allowed:

function foo
end

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

Possible solutions:

  • rename the function to give it a unique name

Last updated