summaryrefslogtreecommitdiff
path: root/server/src/vm/library.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-20 16:44:41 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-20 16:44:41 +0800
commit2270e01b1e25decff28cb2127e0c9156ead77375 (patch)
treee5680d37dee1f29e6b03dd20b64bc7ae63d29d81 /server/src/vm/library.lua
parente24fe56cef46f073b94489a7cbf87973a44d8fb8 (diff)
downloadlua-language-server-2270e01b1e25decff28cb2127e0c9156ead77375.zip
去掉非全局持有的临时source
Diffstat (limited to 'server/src/vm/library.lua')
-rw-r--r--server/src/vm/library.lua2
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