summaryrefslogtreecommitdiff
path: root/server/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-11-30 13:57:02 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-11-30 13:57:02 +0800
commitbad3834c8f6f6b462e8ef968f28e2e49929fbe65 (patch)
treee196a3f0f48a388afed35505cf74c843eee7c515 /server/test
parent2afd196a57e5e2de15fb9fa6ab9a836f26ddb87a (diff)
downloadlua-language-server-bad3834c8f6f6b462e8ef968f28e2e49929fbe65.zip
修正bug
Diffstat (limited to 'server/test')
-rw-r--r--server/test/definition/table.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/server/test/definition/table.lua b/server/test/definition/table.lua
index 57e61a78..47248508 100644
--- a/server/test/definition/table.lua
+++ b/server/test/definition/table.lua
@@ -74,3 +74,17 @@ local t
local <!x!>
t[<?x?>]()
]]
+
+TEST[[
+local <!t!>
+local _ = {
+ _ = <?t?>
+}
+]]
+
+TEST[[
+local <!t!>
+t {
+ _ = <?t?>.x
+}
+]]