Changeset

6675:cb5b56ddabfd

util.set: Rename method argument to avoid name clash [luacheck]
author Matthew Wild <mwild1@gmail.com>
date Wed, 06 May 2015 19:51:35 +0100
parents 6674:a0ce52e11122
children 6676:a536978e0f01
files util/set.lua
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/util/set.lua	Wed May 06 19:51:07 2015 +0100
+++ b/util/set.lua	Wed May 06 19:51:35 2015 +0100
@@ -85,9 +85,9 @@
 		items[item] = nil;
 	end
 
-	function set:add_list(list)
-		if list then
-			for _, item in ipairs(list) do
+	function set:add_list(item_list)
+		if item_list then
+			for _, item in ipairs(item_list) do
 				items[item] = true;
 			end
 		end