errorclasses, enums, decorators
E3041
... used in a field or static initializer
Errors fail the build. Run wowlua explain E3041 for this summary in the terminal.
Where the specification covers it
- 3. Classes, Interfaces and Enums · 3.1.2 Instances and construction
Nearby codes
| code | summary |
|---|---|
| E3032 | Invalid @debugOnly function (returns values, or a call is used as an expression) |
| E3033 | @intrinsic used outside compiler-known modules |
| E3040 | Local or parameter named super inside a class body |
| E3042 | Field and method/accessor with the same name (in a class or across its superclass) |
| E3043 | Accessor declared on a widget class |
| E3044 | Overload implementation does not accept every overload signature |