From c9778ba770df13acaf5e528b3f8905de108164e5 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 19 Nov 2016 01:11:28 +0100 Subject: util.async: Add annotation to ignore warning [luacheck] --- util/async.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/async.lua b/util/async.lua index 367a75b5..e8f898d9 100644 --- a/util/async.lua +++ b/util/async.lua @@ -85,7 +85,7 @@ local runner_mt = {}; runner_mt.__index = runner_mt; local function runner_create_thread(func, self) - local thread = coroutine.create(function (self) + local thread = coroutine.create(function (self) -- luacheck: ignore 432/self while true do func(coroutine.yield("ready", self)); end -- cgit v1.2.3