From af07e31bc6d2fc52daf1a100870a3fa123d9c740 Mon Sep 17 00:00:00 2001 From: Tatakinov Date: Mon, 18 Jul 2022 22:16:02 +0900 Subject: [PATCH] =?UTF-8?q?=E5=87=BA=E5=8A=9B=E3=81=99=E3=82=8B=E6=83=85?= =?UTF-8?q?=E5=A0=B1=E3=82=92unused=E3=82=84undefined=E3=81=A8=E5=90=88?= =?UTF-8?q?=E3=82=8F=E3=81=9B=E3=81=9F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yayalint.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yayalint.lua b/yayalint.lua index 99156f8..2c84189 100644 --- a/yayalint.lua +++ b/yayalint.lua @@ -529,7 +529,7 @@ local function recursive(scope, gv, upper, filename, funcname, global, opt) if type(v) == "table" then if v.assign then print(filename, v.line, v.col) - output:append(table.concat({"assinment operator exists in conditional statement:", "at", filename, "pos:", v.line .. ":" .. v.col}, OutputSep)):append(NewLine) + output:append(table.concat({"assinment operator exists in conditional statement:", v.assign, "at", filename, "pos:", v.line .. ":" .. v.col}, OutputSep)):append(NewLine) end if #v > 0 then assignmentInCondition(v, filename)