v0.9
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

Nearby codes

codesummary
E3032Invalid @debugOnly function (returns values, or a call is used as an expression)
E3033@intrinsic used outside compiler-known modules
E3040Local or parameter named super inside a class body
E3042Field and method/accessor with the same name (in a class or across its superclass)
E3043Accessor declared on a widget class
E3044Overload implementation does not accept every overload signature

All diagnostics →