diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-03-19 13:54:05 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-03-19 13:54:05 +0800 |
commit | e1cd2b6866daa172aa19a87019ef38e3daaa702b (patch) | |
tree | 50edd6edeef6f2b0a01e001ab772295a1afd0131 /server/src/vm/library.lua | |
parent | b23a9a5f34874916ea402e6141f426f00294a334 (diff) | |
download | lua-language-server-e1cd2b6866daa172aa19a87019ef38e3daaa702b.zip |
修改全局变量诊断的实现
Diffstat (limited to 'server/src/vm/library.lua')
-rw-r--r-- | server/src/vm/library.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/vm/library.lua b/server/src/vm/library.lua index 167ac726..24a17389 100644 --- a/server/src/vm/library.lua +++ b/server/src/vm/library.lua @@ -54,7 +54,7 @@ function buildLibValue(lib) for fName, fLib in pairs(lib.child) do local fValue = buildLibValue(fLib) value:rawSet(fName, fValue) - value:addInfo('set child', sourceMgr.dummy(), fName) + value:addInfo('set child', sourceMgr.dummy(), fName, fValue) end end |