Changeset

7725:f928695a2af1

util.async: Add annotation to ignore warning [luacheck]
author Kim Alvefur <zash@zash.se>
date Sat, 19 Nov 2016 01:11:28 +0100
parents 7724:20a69ef5570c
children 7727:0011889c928f
files util/async.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util/async.lua	Sat Nov 19 01:11:53 2016 +0100
+++ b/util/async.lua	Sat Nov 19 01:11:28 2016 +0100
@@ -85,7 +85,7 @@
 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