diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-10-17 15:15:24 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-10-17 15:15:24 +0800 |
commit | cd139ff2f2eaefab4de54ab5c39c04aa992f7b51 (patch) | |
tree | 09cad9a28dfb20bed3f13b28f21a0552496fe0fa /server-beta/src/core/setmetatable.lua | |
parent | 427ca6b4c555aa92e3d5bf82051c52d490dffd48 (diff) | |
download | lua-language-server-cd139ff2f2eaefab4de54ab5c39c04aa992f7b51.zip |
支持实例查找方法的引用
Diffstat (limited to 'server-beta/src/core/setmetatable.lua')
-rw-r--r-- | server-beta/src/core/setmetatable.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server-beta/src/core/setmetatable.lua b/server-beta/src/core/setmetatable.lua index ecb1a98d..978d165c 100644 --- a/server-beta/src/core/setmetatable.lua +++ b/server-beta/src/core/setmetatable.lua @@ -27,7 +27,7 @@ return function (self, key, used, found, callback) end) end -- mt.__index.field -> t.field - self:eachDef(src, function (src) + self:eachValue(src, function (src) if used[src] then self:eachValue(t, function (mtvalue) self:eachField(mtvalue, key, callback) |