summaryrefslogtreecommitdiff
path: root/server/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-11-30 16:16:12 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-11-30 16:16:12 +0800
commit931ec71a8cdf6e5c6f80cf3d90a1c3be494028ee (patch)
tree0790db5ff7915c8f36dcb94151f2125775d3ee2e /server/test
parentb46ef6acee507e9e111c08d0506e48dd29cb40b8 (diff)
downloadlua-language-server-931ec71a8cdf6e5c6f80cf3d90a1c3be494028ee.zip
支持表里的值
Diffstat (limited to 'server/test')
-rw-r--r--server/test/definition/table.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/test/definition/table.lua b/server/test/definition/table.lua
index 67fac169..08c4c98e 100644
--- a/server/test/definition/table.lua
+++ b/server/test/definition/table.lua
@@ -94,3 +94,10 @@ local t
t.<?after?>()
t.<!after!> = a
]]
+
+TEST[[
+local t = {
+ <!x!> = 1,
+}
+t.<?x?>()
+]]