util.array: Oh no it isn't!
authorMatthew Wild <mwild1@gmail.com>
Thu, 8 Oct 2009 17:41:30 +0000 (18:41 +0100)
committerMatthew Wild <mwild1@gmail.com>
Thu, 8 Oct 2009 17:41:30 +0000 (18:41 +0100)
util/array.lua

index 316a2861b6d46f327d643201880a574fde026ca5..686f55b1ef2f0b855039dc3cf89630b4388a708e 100644 (file)
@@ -111,7 +111,6 @@ end
 
 -- Setup methods from array_base
 for method, f in pairs(array_base) do
-       local method = method; -- Yes, this is necessary :)
        local base_method = f;
        -- Setup global array method which makes new array
        array[method] = function (old_a, ...)