errortypes
E2052
Non-optional class field not definitely assigned in the constructor (strict mode)
Errors fail the build. Run wowlua explain E2052 for this summary in the terminal.
Where the specification covers it
- Appendix C. Decision Log · Toolchain
- 2. Types · 2.1 Checking modes
- 3. Classes, Interfaces and Enums · 3.1.2 Instances and construction
Nearby codes
| code | summary |
|---|---|
| E2040 | Forbidden operation on a possibly secret value (strict mode) |
| E2050 | Missing parameter type annotation (strict mode) |
| E2051 | Unknown field added to a sealed table (strict mode) |
| E2053 | Recursive type alias not guarded by a table or function type |
| E2054 | Conflicting field types in merged declare interface declarations |
| E2056 | Type pack used in an invalid position |