From de51b150af7229ca6d30cdaa89e5201cfce59715 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 6 May 2015 19:51:35 +0100 Subject: util.set: Rename method argument to avoid name clash [luacheck] --- util/set.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/util/set.lua b/util/set.lua index 0a263440..4be39c17 100644 --- a/util/set.lua +++ b/util/set.lua @@ -85,9 +85,9 @@ function new(list) 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 -- cgit v1.2.3