diff options
Diffstat (limited to 'script/core/diagnostics')
-rw-r--r-- | script/core/diagnostics/unused-function.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/unused-function.lua b/script/core/diagnostics/unused-function.lua index 1463d081..a68b8dcc 100644 --- a/script/core/diagnostics/unused-function.lua +++ b/script/core/diagnostics/unused-function.lua @@ -32,7 +32,7 @@ return function (uri, callback) and parent.type ~= 'setlocal' then return end - if isToBeClosed(source) then + if isToBeClosed(parent) then return end local hasGet |