summaryrefslogtreecommitdiff
path: root/script/vm/sign.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-13 22:46:02 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-13 22:46:02 +0800
commit32fbab2b26bdb6b4c00ed8f467f12e5161ba4c31 (patch)
treeb109f2746be0693a8967734393cd775a876cdb12 /script/vm/sign.lua
parented16d2f27b0c70d5d845435708da387db485719e (diff)
downloadlua-language-server-32fbab2b26bdb6b4c00ed8f467f12e5161ba4c31.zip
new runner
Diffstat (limited to 'script/vm/sign.lua')
-rw-r--r--script/vm/sign.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/vm/sign.lua b/script/vm/sign.lua
index fe112bc2..5c17aa3d 100644
--- a/script/vm/sign.lua
+++ b/script/vm/sign.lua
@@ -111,7 +111,7 @@ function mt:resolve(uri, args, removeGeneric)
goto CONTINUE
end
end
- local view = vm.viewObject(obj)
+ local view = vm.viewObject(obj, uri)
if view then
knownTypes[view] = true
end
@@ -130,7 +130,7 @@ function mt:resolve(uri, args, removeGeneric)
if argNode:hasFalsy() then
goto CONTINUE
end
- local view = vm.viewObject(n)
+ local view = vm.viewObject(n, uri)
if knownTypes[view] then
goto CONTINUE
end