errornames, globals, modules, conditional compilation
E1011
Top-level import after another (non-import) statement
Errors fail the build. Run wowlua explain E1011 for this summary in the terminal.
Where the specification covers it
- 5. Modules · 5.2 Imports
Nearby codes
| code | summary |
|---|---|
| E1002 | Implicit global assignment (strict mode) |
| E1003 | Undefined local or upvalue in a wowlua construct (e.g. a decorator argument) |
| E1010 | Assignment to an exported or imported binding |
| E1012 | Module has no export with this name |
| 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) |