diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-12-19 22:49:21 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-12-19 22:49:21 +0800 |
commit | 221109d3ff7d16e7a760575bbb439ea8f48f26f6 (patch) | |
tree | 8cafa5e865f5c606f63f13c6d3eeeaab630b2aa6 /script | |
parent | 0bf5d85e7e7931f69ed052a965bac1207e264455 (diff) | |
download | lua-language-server-221109d3ff7d16e7a760575bbb439ea8f48f26f6.zip |
fix
Diffstat (limited to 'script')
-rw-r--r-- | script/parser/guide.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua index fac436eb..f8c07697 100644 --- a/script/parser/guide.lua +++ b/script/parser/guide.lua @@ -3946,6 +3946,9 @@ function m.inferByPCallReturn(status, source) if not call or call.type ~= 'call' then return end + if not call.args then + return + end local node = call.node local specialName = node.special local func, index |