warningbundling and minification
W6001
Code inspects its own file name (debugstack, debuglocals), which changes when bundled
Warnings fail a build only with --deny-warnings. Change this one's level in wowlua.json: "check": { "lints": { "W6001": "allow" } } (or "deny").
Where the specification covers it
- Appendix C. Decision Log · Toolchain
- 15. Optimization · 15.3.1 Structure
Nearby codes
| code | summary |
|---|---|
| E4334 | Both a hand-written Bindings.xml and wowlua:bindings declarations |
| E4335 | Packager @version-…@ blocks in a multi-version build |
| W4333 | .pkgmeta hg external cannot be converted |
| W6002 | Side-effect-free, unused module removed by dead-code elimination |
| W6010 | An addon-site target (CurseForge, Wago, WoWInterface) publishes minified code (Blizzard AddOn policy: code must not be hidden or obfuscated) |
| W7001 | todo() in a release build |