diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-01-29 15:33:47 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-01-29 15:33:47 +0800 |
commit | c2762dc29612aa37aa19a0cf3f362449e44dc9f8 (patch) | |
tree | c828924cc6e54dd352ab67e2c0a4fff7d38d5173 /server/src/core/definition.lua | |
parent | 482b3f97443329ebb25b19c2a1152b7b6329a689 (diff) | |
download | lua-language-server-c2762dc29612aa37aa19a0cf3f362449e44dc9f8.zip |
更新写法
Diffstat (limited to 'server/src/core/definition.lua')
-rw-r--r-- | server/src/core/definition.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/core/definition.lua b/server/src/core/definition.lua index 52824908..05e62f4f 100644 --- a/server/src/core/definition.lua +++ b/server/src/core/definition.lua @@ -16,7 +16,7 @@ local function findFieldBySource(positions, source, vm, result) end local function findFieldByName(positions, vm, result) - for _, source in pairs(vm.results.sources) do + for _, source in ipairs(vm.results.sources) do findFieldBySource(positions, source, vm, result) end end |