aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/array.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/util/array.lua b/util/array.lua
index 4eb10f22..c6352de5 100644
--- a/util/array.lua
+++ b/util/array.lua
@@ -19,7 +19,11 @@ local type = type;
local array = {};
local array_base = {};
local array_methods = {};
-local array_mt = { __index = array_methods, __name = "array", __tostring = function (self) return "{"..self:concat(", ").."}"; end };
+local array_mt = {
+ __index = array_methods;
+ __name = "array";
+ __tostring = function (self) return "{"..self:concat(", ").."}"; end;
+};
function array_mt:__freeze() return self; end