diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-14 21:44:18 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-14 21:44:18 +0800 |
commit | 0115abdc5438189b9c0f0c1a5b1946a7ee1f85a7 (patch) | |
tree | 2da7c97abf4b053c676f55f69c6c62566e3937eb /script/core | |
parent | 92a5388138c2d916eaa0160df1cebfbec70a6b16 (diff) | |
download | lua-language-server-0115abdc5438189b9c0f0c1a5b1946a7ee1f85a7.zip |
fix
Diffstat (limited to 'script/core')
-rw-r--r-- | script/core/diagnostics/newfield-call.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/core/diagnostics/newfield-call.lua b/script/core/diagnostics/newfield-call.lua index 27ac6fce..fe86ad66 100644 --- a/script/core/diagnostics/newfield-call.lua +++ b/script/core/diagnostics/newfield-call.lua @@ -21,6 +21,9 @@ return function (uri, callback) if not call then goto CONTINUE end + if call.type ~= 'call' then + return + end local func = call.node local args = call.args if args then |