From 75509a89ecc69c683c015a97c9844746c81e6057 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 14 Apr 2022 22:23:32 +0800 Subject: cheanup --- script/core/diagnostics/unused-local.lua | 3 --- 1 file changed, 3 deletions(-) (limited to 'script/core/diagnostics/unused-local.lua') diff --git a/script/core/diagnostics/unused-local.lua b/script/core/diagnostics/unused-local.lua index 7e7bd9d7..d12ceb2b 100644 --- a/script/core/diagnostics/unused-local.lua +++ b/script/core/diagnostics/unused-local.lua @@ -88,9 +88,6 @@ return function (uri, callback) or name == ast.ENVMode then return end - if source.tag == 'self' then - return - end if isToBeClosed(source) then return end -- cgit v1.2.3