Enum: minor fix
This commit is contained in:
@@ -14,7 +14,7 @@ function Enum:new(enum)
|
|||||||
end
|
end
|
||||||
|
|
||||||
---@type Enum
|
---@type Enum
|
||||||
instance = setmetatable({}, {
|
local instance = setmetatable({}, {
|
||||||
__index = metaEnum,
|
__index = metaEnum,
|
||||||
__newindex = function()
|
__newindex = function()
|
||||||
error('The Enum table is read only!')
|
error('The Enum table is read only!')
|
||||||
|
|||||||
Reference in New Issue
Block a user