diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-03-18 17:01:10 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-03-18 17:01:10 +0800 |
commit | e238ca2634dd5276a910967712773a0bc3eb7a02 (patch) | |
tree | 134961c2e182b8e7ce222c92fad585787518a9f1 /server/src/vm | |
parent | 357e62b68d67c4218d95f6bee937e6d5e206d752 (diff) | |
download | lua-language-server-e238ca2634dd5276a910967712773a0bc3eb7a02.zip |
修正无法获取库函数child的bug
Diffstat (limited to 'server/src/vm')
-rw-r--r-- | server/src/vm/library.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/vm/library.lua b/server/src/vm/library.lua index 8f034229..167ac726 100644 --- a/server/src/vm/library.lua +++ b/server/src/vm/library.lua @@ -54,6 +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) end end |