summaryrefslogtreecommitdiff
path: root/script-beta/vm/getMeta.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-01-23 16:59:03 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-01-23 16:59:03 +0800
commit7d23f084f713b372649e1e4dfb993c8997076686 (patch)
tree194645740e116914f36a8817c0c1aa9a089bd854 /script-beta/vm/getMeta.lua
parent0a5fbd8a8889599b2216c674819569eda754ef05 (diff)
downloadlua-language-server-7d23f084f713b372649e1e4dfb993c8997076686.zip
更新
Diffstat (limited to 'script-beta/vm/getMeta.lua')
-rw-r--r--script-beta/vm/getMeta.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/vm/getMeta.lua b/script-beta/vm/getMeta.lua
index 4915f616..49e9cf34 100644
--- a/script-beta/vm/getMeta.lua
+++ b/script-beta/vm/getMeta.lua
@@ -26,7 +26,7 @@ local function eachMetaOfRecv(source, callback)
if special ~= 'setmetatable' then
return
end
- vm.eachFieldInTable(call.args[1])
+ vm.eachFieldInTable(call.args[1], callback)
local mt = call.args[2]
if mt then
callback(mt)