summaryrefslogtreecommitdiff
path: root/server-beta/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-11-05 20:34:17 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-11-05 20:34:17 +0800
commit12eecd0df7d2c577d56b5e81e393963a614dc8e7 (patch)
tree2a6d85959cf9fbe4d7feee44c552f0f868d8743d /server-beta/test
parentc844e46ae97f28ec928db6b701fdf5f2eea2664d (diff)
downloadlua-language-server-12eecd0df7d2c577d56b5e81e393963a614dc8e7.zip
更新诊断
Diffstat (limited to 'server-beta/test')
-rw-r--r--server-beta/test/diagnostics/init.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/server-beta/test/diagnostics/init.lua b/server-beta/test/diagnostics/init.lua
index 2970938d..1227c469 100644
--- a/server-beta/test/diagnostics/init.lua
+++ b/server-beta/test/diagnostics/init.lua
@@ -286,6 +286,16 @@ end
]]
TEST [[
+local <!x!> = {}
+x.a = 1
+]]
+
+TEST [[
+local <!x!> = {}
+x['a'] = 1
+]]
+
+TEST [[
local function f(<!self!>)
end
f()