summaryrefslogtreecommitdiff
path: root/server-beta/test/definition
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-10-28 20:33:39 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-10-28 20:33:39 +0800
commit803febe4956557dba464c66625e6c67868fa0b18 (patch)
tree005ad11fe068b203ac00edb2f13365bd409264b2 /server-beta/test/definition
parentdddbd6b2003f286eee62f133eff56a8fd9440af8 (diff)
downloadlua-language-server-803febe4956557dba464c66625e6c67868fa0b18.zip
修正一些bug
Diffstat (limited to 'server-beta/test/definition')
-rw-r--r--server-beta/test/definition/bug.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/server-beta/test/definition/bug.lua b/server-beta/test/definition/bug.lua
index 27d4700c..823db46d 100644
--- a/server-beta/test/definition/bug.lua
+++ b/server-beta/test/definition/bug.lua
@@ -61,6 +61,11 @@ self[self.results.<?labels?>] = lbl
]]
TEST [[
+self.results.<!labels!> = {}
+self[self.results.<?labels?>] = lbl
+]]
+
+TEST [[
local mt = {}
function mt:<!x!>()
end