diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-10-10 15:31:00 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-10-10 15:31:00 +0800 |
commit | 63f8fe059b3b429baf0e10969a259beecaddbaad (patch) | |
tree | a2d5ebff6d3f6439758e9b2900144f038da13b27 /server-beta | |
parent | ed0531411e854bcebdc8ac3988bf2631beaf6a40 (diff) | |
download | lua-language-server-63f8fe059b3b429baf0e10969a259beecaddbaad.zip |
更新
Diffstat (limited to 'server-beta')
-rw-r--r-- | server-beta/src/core/local.lua | 10 |
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 |