v0.9
diagnostics / types
errortypes

E2060error

A local after an annotated one is named after a type (local a, b: T, U: the annotations go on each name, local a: T, b: U)

area
types
fails the build
yes
in plain Lua
W2060

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

Related: W2060, the warning form: Division or modulo by a literal zero: WoW raises "Division by zero" (any mode)

Nearby codes

codesummary
E2056Type pack used in an invalid position
E2058Name declared both as declare event and declare message
E2059Default value in a declare event / declare message parameter
E3001super(...) missing, repeated, or after use of self
E3002Cannot instantiate an abstract class
E3003Abstract method not implemented

All diagnostics →