warningtypes
W2055
Too many arguments to an unannotated function (basic mode). Replaces the second meaning of W2006.
Warnings fail a build only with --deny-warnings. Change this one's level in wowlua.json: "check": { "lints": { "W2055": "allow" } } (or "deny").
Where the specification covers it
- Appendix C. Decision Log · Toolchain
- 2. Types · 2.7 Calls and arity
Nearby codes
| code | summary |
|---|---|
| W1034 | Name read at load time but only defined at run time |
| W1035 | Usage-analysis dependency contradicts build.load-order; the listed order is kept (contradicting imports are E1035) |
| W2040 | Forbidden operation on a possibly secret value (basic mode) |
| W2060 | Division or modulo by a literal zero: WoW raises "Division by zero" (any mode) |
| W2057 | coroutine.yield inside a function passed to pcall/xpcall/a C callback (cannot yield across that boundary in Lua 5.1) |
| W3021 | Lexical binding named like a core decorator is not a re-export of it (ignored in decorator position) |