summaryrefslogtreecommitdiff
path: root/server/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-10 15:05:16 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-10 15:05:16 +0800
commit8e6091ef4cfe560d085401540ddd1cb33183ef29 (patch)
tree49c66010951af513889ad6645bafccda30f5bec7 /server/test
parent03651e86bd8a240317cf081a0d0c05dac64f1165 (diff)
downloadlua-language-server-8e6091ef4cfe560d085401540ddd1cb33183ef29.zip
根据全局lib推断
Diffstat (limited to 'server/test')
-rw-r--r--server/test/type_inference/init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/test/type_inference/init.lua b/server/test/type_inference/init.lua
index 4097eb2f..59993b14 100644
--- a/server/test/type_inference/init.lua
+++ b/server/test/type_inference/init.lua
@@ -109,3 +109,7 @@ TEST 'string' [[
TEST 'number' [[
<?x?> = a + b
]]
+
+TEST 'table' [[
+<?table?>()
+]]