summaryrefslogtreecommitdiff
path: root/server/test/definition
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-11-21 17:37:55 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-11-21 17:37:55 +0800
commitb614e7117cc49a4f78913ffae81b82d2b3fa3bae (patch)
tree1ffc8231aab6144e45725bd0c855ca561c4b592c /server/test/definition
parent61535bab099b398c571d3962b9d32b1c02b69d5a (diff)
downloadlua-language-server-b614e7117cc49a4f78913ffae81b82d2b3fa3bae.zip
修正语法解析bug
Diffstat (limited to 'server/test/definition')
-rw-r--r--server/test/definition/table.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/server/test/definition/table.lua b/server/test/definition/table.lua
index 60792141..4f5d9095 100644
--- a/server/test/definition/table.lua
+++ b/server/test/definition/table.lua
@@ -14,3 +14,14 @@ local <!t!>
t.x = 1
<?t?>.x = 1
]]
+
+TEST [[
+t.<!x!> = 1
+t.<?x?>.y = 1
+]]
+
+TEST [[
+local t
+t.<!x!> = 1
+t.<?x?>()
+]]