From 1ab7b00c72112d8dcfa12c1de1d38047c346984e Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 19 Nov 2016 01:11:53 +0100 Subject: util.async: Rename variable to avoid name clash [luacheck] --- util/async.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/async.lua b/util/async.lua index 76da45fa..367a75b5 100644 --- a/util/async.lua +++ b/util/async.lua @@ -126,8 +126,8 @@ function runner_mt:run(input) local consumed; -- Loop through queue items, and attempt to run them for i = 1,n do - local input = q[i]; - local ok, new_state = coroutine.resume(thread, input); + local queued_input = q[i]; + local ok, new_state = coroutine.resume(thread, queued_input); if not ok then -- There was an error running the coroutine, save the error, mark runner as ready to begin again consumed, state, err = i, "ready", debug.traceback(thread, new_state); -- cgit v1.2.3