errornames, globals, modules, conditional compilation
E1016error
An export redeclares a module-level name (a local, function, import, …), or a name is exported twice
- area
- names, globals, modules, conditional compilation
- fails the build
- yes
- in plain Lua
- W1016
Errors fail the build. Run wowlua explain E1016 for this summary in the terminal.
Where the specification covers it
- 5. Modules · 5.1 Exports
Nearby codes
| code | summary |
|---|---|
| E1013 | Module specifier case does not match the file on disk |
| E1014 | Import or usage cycle containing a load-time edge (run-time-only cycles are allowed) |
| E1015 | Module not found |
| E1020 | Reference to a declaration removed by @if or static elimination |
| E1031 | Duplicate (non-ambient) interface in the same scope |
| E1032 | Top-level return in a module |