diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-13 22:46:02 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-13 22:46:02 +0800 |
commit | 32fbab2b26bdb6b4c00ed8f467f12e5161ba4c31 (patch) | |
tree | b109f2746be0693a8967734393cd775a876cdb12 /script/vm/infer.lua | |
parent | ed16d2f27b0c70d5d845435708da387db485719e (diff) | |
download | lua-language-server-32fbab2b26bdb6b4c00ed8f467f12e5161ba4c31.zip |
new runner
Diffstat (limited to 'script/vm/infer.lua')
-rw-r--r-- | script/vm/infer.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/script/vm/infer.lua b/script/vm/infer.lua index 712cff10..9bcd3963 100644 --- a/script/vm/infer.lua +++ b/script/vm/infer.lua @@ -417,7 +417,8 @@ function mt:viewClass() end ---@param source parser.object +---@param uri uri ---@return string? -function vm.viewObject(source) - return viewNodeSwitch(source.type, source, {}, guide.getUri(source)) +function vm.viewObject(source, uri) + return viewNodeSwitch(source.type, source, {}, uri) end |