Diff

util/array.lua @ 1934:e14cf28396a8

util.array: Oh no it isn't!
author Matthew Wild <mwild1@gmail.com>
date Thu, 08 Oct 2009 18:41:30 +0100
parent 1922:d5fe0f9b377a
child 2923:b7049746bd29
line wrap: on
line diff
--- a/util/array.lua	Tue Oct 06 23:14:01 2009 +0100
+++ b/util/array.lua	Thu Oct 08 18:41:30 2009 +0100
@@ -111,7 +111,6 @@
 
 -- 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, ...)