v0.9
errorclasses, enums, decorators

E3021

Decorator not applicable to this target (including user decorators on enums, interfaces and aliases)

Errors fail the build. Run wowlua explain E3021 for this summary in the terminal.

Related: W3021, the warning form: Lexical binding named like a core decorator is not a re-export of it (ignored in decorator position)

Where the specification covers it

Nearby codes

codesummary
E3010Enum mixes numeric and string values
E3011Duplicate enum value
E3020Unknown decorator
E3022User decorator signature does not accept the target
E3032Invalid @debugOnly function (returns values, or a call is used as an expression)
E3033@intrinsic used outside compiler-known modules

All diagnostics →