summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-03-30 16:38:30 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-03-30 16:38:30 +0800
commita60dfe909d8e9f47c09f7993e68fc6231e256485 (patch)
treee7285a779f75f61e853c53755a3d1f9532c033ca /test
parent3b0440451a5ae78c25f17195db486a8f374e327f (diff)
downloadlua-language-server-a60dfe909d8e9f47c09f7993e68fc6231e256485.zip
#139 临时处理 emmyArray 的问题
Diffstat (limited to 'test')
-rw-r--r--test/diagnostics/normal.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/diagnostics/normal.lua b/test/diagnostics/normal.lua
index 5fdc3ba8..4ead6df5 100644
--- a/test/diagnostics/normal.lua
+++ b/test/diagnostics/normal.lua
@@ -501,3 +501,9 @@ local t = {}
t.a = 1
t.a = 2
]]
+
+TEST [[
+---@type table<number, boolean|string[]>
+local t
+print(t)
+]]