summaryrefslogtreecommitdiff
path: root/server/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-27 10:08:30 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-27 10:08:30 +0800
commitc396fb4527a5684b75672654f28208255954edcf (patch)
treebfea757388f78c9977522bac820fef3b8935ee05 /server/test
parent87af08f8a72cc285421d8df19501c6529541f958 (diff)
downloadlua-language-server-c396fb4527a5684b75672654f28208255954edcf.zip
值得类型不能是...
Diffstat (limited to 'server/test')
-rw-r--r--server/test/hover/init.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/server/test/hover/init.lua b/server/test/hover/init.lua
index 6e7c8b01..9b22e3dd 100644
--- a/server/test/hover/init.lua
+++ b/server/test/hover/init.lua
@@ -235,3 +235,16 @@ end
local <?n?> = f()
]]
[[any n]]
+
+TEST [[
+local <?n?> = table.unpack(t)
+]]
+[[any n]]
+
+TEST [[
+local <?n?>
+table.pack(n)
+]]
+[[
+any n
+]]