summaryrefslogtreecommitdiff
path: root/script-beta/vm/getClass.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-08-16 16:20:12 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-08-16 16:20:12 +0800
commit68f6df0181c8c5e499b571c0447af9203d3fd6d9 (patch)
tree6d44c1dfd98a57e01ca1482deb4cc8206ddb9c33 /script-beta/vm/getClass.lua
parent8fdeec14b4a90e1f15ed639ebc7b7b423e100424 (diff)
downloadlua-language-server-68f6df0181c8c5e499b571c0447af9203d3fd6d9.zip
整理代码
Diffstat (limited to 'script-beta/vm/getClass.lua')
-rw-r--r--script-beta/vm/getClass.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/vm/getClass.lua b/script-beta/vm/getClass.lua
index 0d5d45b1..a3394e41 100644
--- a/script-beta/vm/getClass.lua
+++ b/script-beta/vm/getClass.lua
@@ -41,5 +41,5 @@ function vm.getClass(source)
if #classes == 0 then
return nil
end
- return guide.mergeInfers(table.unpack(classes))
+ return guide.mergeTypes(classes)
end