errornames, globals, modules, conditional compilation
E1040
@if condition is not a static condition
Errors fail the build. Run wowlua explain E1040 for this summary in the terminal.
Where the specification covers it
- 6. Build Metadata and Conditional Compilation · 6.4.3 Conditional declarations
Nearby codes
| code | summary |
|---|---|
| E1037 | Hoisted declaration used at load time before its definition has executed |
| E1038 | asset() path is not a package asset (or case mismatch) |
| E1039 | @if(flavor …) in a .wowlua file in shared flavor mode |
| E2001 | Type mismatch: S is not assignable to T |
| E2002 | Unknown type name |
| E2003 | Unknown field or method (also: method defined outside its class body, assignment to the reserved __wowlua key) |