diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-03-20 16:44:41 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-03-20 16:44:41 +0800 |
commit | 2270e01b1e25decff28cb2127e0c9156ead77375 (patch) | |
tree | e5680d37dee1f29e6b03dd20b64bc7ae63d29d81 /server/src/vm/library.lua | |
parent | e24fe56cef46f073b94489a7cbf87973a44d8fb8 (diff) | |
download | lua-language-server-2270e01b1e25decff28cb2127e0c9156ead77375.zip |
去掉非全局持有的临时source
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 24a17389..67d2d263 100644 --- a/server/src/vm/library.lua +++ b/server/src/vm/library.lua @@ -23,7 +23,7 @@ function buildLibValue(lib) value:setFunction(func) if lib.args then for _, arg in ipairs(lib.args) do - func:createLibArg(arg) + func:createLibArg(arg, sourceMgr.dummy()) end end if lib.returns then |