summaryrefslogtreecommitdiff
path: root/test/definition
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-01-09 17:15:22 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-01-09 17:15:22 +0800
commitc796d406329170e010590d7c9584b8483021cee3 (patch)
treea4f43228c38847acaf968aea1e46c8df3d88ec17 /test/definition
parent78875f59fe2fa846d62bf955805b647d17cf87d2 (diff)
downloadlua-language-server-c796d406329170e010590d7c9584b8483021cee3.zip
support trace for global
Diffstat (limited to 'test/definition')
-rw-r--r--test/definition/bug.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/definition/bug.lua b/test/definition/bug.lua
index b564f764..2e2a5972 100644
--- a/test/definition/bug.lua
+++ b/test/definition/bug.lua
@@ -48,6 +48,13 @@ obj[#<?obj?>+1] = {}
TEST [[
self = {
+ <!results!> = {}
+}
+self[self.<?results?>] = lbl
+]]
+
+TEST [[
+self = {
results = {
<!labels!> = {},
}