summaryrefslogtreecommitdiff
path: root/server-beta/src/searcher
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-11-17 23:46:38 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-11-17 23:46:38 +0800
commite9fcf13480ed98af15201911cad542fe6e84dc1e (patch)
tree577422178b2d4ca28d1186faff7a010fdea6b9f9 /server-beta/src/searcher
parente8ea5f90e60e36833b3e2d98e66d89e6098faacc (diff)
downloadlua-language-server-e9fcf13480ed98af15201911cad542fe6e84dc1e.zip
修正一些bug
Diffstat (limited to 'server-beta/src/searcher')
-rw-r--r--server-beta/src/searcher/eachRef.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/server-beta/src/searcher/eachRef.lua b/server-beta/src/searcher/eachRef.lua
index 24f2ea77..9a3fd9f0 100644
--- a/server-beta/src/searcher/eachRef.lua
+++ b/server-beta/src/searcher/eachRef.lua
@@ -427,8 +427,7 @@ local function eachRef(source, callback)
or stype == 'method' then
ofField(source, callback)
elseif stype == 'setfield'
- or stype == 'getfield'
- or stype == 'tablefield' then
+ or stype == 'getfield' then
ofField(source.field, callback)
elseif stype == 'setmethod'
or stype == 'getmethod' then