v0.9
warningclasses, enums, decorators

W3021

Lexical binding named like a core decorator is not a re-export of it (ignored in decorator position)

Warnings fail a build only with --deny-warnings. Change this one's level in wowlua.json: "check": { "lints": { "W3021": "allow" } } (or "deny").

Related: E3021, the error form: Decorator not applicable to this target (including user decorators on enums, interfaces and aliases)

Where the specification covers it

Nearby codes

codesummary
W2055Too many arguments to an unannotated function (basic mode). Replaces the second meaning of W2006.
W2060Division or modulo by a literal zero: WoW raises "Division by zero" (any mode)
W2057coroutine.yield inside a function passed to pcall/xpcall/a C callback (cannot yield across that boundary in Lua 5.1)
W3030Use of a @deprecated declaration
W3031@inline ignored
W4001Unknown TOC directive in addon.toc-extra

All diagnostics →