summaryrefslogtreecommitdiff
path: root/server-beta
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-10-10 15:31:00 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-10-10 15:31:00 +0800
commit63f8fe059b3b429baf0e10969a259beecaddbaad (patch)
treea2d5ebff6d3f6439758e9b2900144f038da13b27 /server-beta
parented0531411e854bcebdc8ac3988bf2631beaf6a40 (diff)
downloadlua-language-server-63f8fe059b3b429baf0e10969a259beecaddbaad.zip
更新
Diffstat (limited to 'server-beta')
-rw-r--r--server-beta/src/core/local.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/server-beta/src/core/local.lua b/server-beta/src/core/local.lua
index 1916ba88..040da822 100644
--- a/server-beta/src/core/local.lua
+++ b/server-beta/src/core/local.lua
@@ -76,11 +76,11 @@ function m:field(source, key, callback)
end
end
end
- --if source.tag == 'self' then
- -- local method = source.method
- -- local node = method.node
- -- self:eachRef(node, 'field', callback)
- --end
+ if source.tag == 'self' then
+ local method = source.method
+ local node = method.node
+ self:eachField(node, key, callback)
+ end
if source.value then
self:eachField(source.value, key, callback)
end