summaryrefslogtreecommitdiff
path: root/test-beta/references/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-12-24 15:33:58 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-12-24 15:33:58 +0800
commit41d5da00933be228f5a18c2f67490b0b2a822931 (patch)
treef8c25e3f1d3418fdaf31e3110ff514f41d71b77f /test-beta/references/init.lua
parentf60fffa9afd4c799c449065cbc5beba68e2bdcb1 (diff)
downloadlua-language-server-41d5da00933be228f5a18c2f67490b0b2a822931.zip
更新 eachRef
Diffstat (limited to 'test-beta/references/init.lua')
-rw-r--r--test-beta/references/init.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/test-beta/references/init.lua b/test-beta/references/init.lua
index 6073f0e4..01d10f98 100644
--- a/test-beta/references/init.lua
+++ b/test-beta/references/init.lua
@@ -248,6 +248,15 @@ return {
}
]]
+TEST [[
+self = {
+ results = {
+ <?labels?> = {},
+ }
+}
+self[self.results.<!labels!>] = lbl
+]]
+
--TEST [[
-----@class <!Class!>
-----@type <?Class?>