warningnames, globals, modules, conditional compilation
W1004
Local shadows another local
Warnings fail a build only with --deny-warnings. Change this one's level in wowlua.json: "check": { "lints": { "W1004": "allow" } } (or "deny").
Where the specification covers it
- Appendix C. Decision Log · Toolchain
- 13. Compiler Architecture · 13.6.2 Lints
Nearby codes
| code | summary |
|---|---|
| W1001 | Undefined global read (basic mode) |
| W1002 | Implicit global assignment (basic mode) |
| W1003 | Unused local, parameter or import |
| W1005 | Unreachable code |
| W1033 | Load order cannot be determined (dynamic names, several writers, external names); files keep their source order |
| W1034 | Name read at load time but only defined at run time |