errorlexing and parsing
E0115
class, enum or declare not at the top level of a file
Errors fail the build. Run wowlua explain E0115 for this summary in the terminal.
Where the specification covers it
- 1. Syntax · 1.3.8 Declarations
- 3. Classes, Interfaces and Enums · 3.1.1 Syntax
- 3. Classes, Interfaces and Enums · 3.4.1 Syntax
Nearby codes
| code | summary |
|---|---|
| E0112 | const without an initializer, or declaring several names |
| E0113 | Optional chain used as an assignment or compound-assignment target |
| E0114 | continue is not the last statement of its block |
| E0116 | Unbalanced } in an interpolated string |
| E0117 | import _ combined with other names |
| E0118 | export function with a dotted or method name |