summaryrefslogtreecommitdiff
path: root/script/vm/infer.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-13 17:13:11 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-13 17:13:11 +0800
commit0bd4a15ffdf4b890e26e97f7c433696422eb2303 (patch)
treef7c33fbd0074248126d61dead1faffcf0f77a32b /script/vm/infer.lua
parent5f5760aa9b1d5351b41e3c5aba6607721341e49c (diff)
downloadlua-language-server-0bd4a15ffdf4b890e26e97f7c433696422eb2303.zip
cleanup
Diffstat (limited to 'script/vm/infer.lua')
-rw-r--r--script/vm/infer.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/infer.lua b/script/vm/infer.lua
index 1cb57e4c..16ffb4f3 100644
--- a/script/vm/infer.lua
+++ b/script/vm/infer.lua
@@ -102,7 +102,7 @@ local viewNodeSwitch = util.switch()
end)
: case 'generic'
: call(function (source, infer)
- return ('<%s>'):format(source.proto[1])
+ return m.getInfer(source.proto):view()
end)
: case 'doc.generic.name'
: call(function (source, infer)