summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-01-04 09:13:58 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-01-04 09:13:58 +0800
commit70e82d8aeb5cbc99ddd041c48441b7de37ecbb99 (patch)
treefdb4b66f0c8ff8b205b93ddf9aa4272e3306520a
parenta51e6ff78fcdb89ff13afdd98dc8a1e01fc75e81 (diff)
downloadlua-language-server-70e82d8aeb5cbc99ddd041c48441b7de37ecbb99.zip
fix
-rw-r--r--script/parser/guide.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua
index 0872fa15..354a5eed 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -1470,10 +1470,10 @@ function m.checkSameSimpleInValueOfSetMetaTable(status, func, start, pushQueue)
end
local call = func.parent
local args = call.args
- local obj = args[1]
if not args then
return
end
+ local obj = args[1]
local mt = args[2]
if obj then
pushQueue(obj, start, true)