summaryrefslogtreecommitdiff
path: root/test/hover/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-08 22:06:25 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-08 22:06:25 +0800
commitece524b44c93ed49504b6e0ec86934f2d1ec408d (patch)
tree6d32ae5197507470d91f2e33834d6fd202fa61e8 /test/hover/init.lua
parent6ba79a338298881b5cd23610eb470c54ab590388 (diff)
downloadlua-language-server-ece524b44c93ed49504b6e0ec86934f2d1ec408d.zip
stash
Diffstat (limited to 'test/hover/init.lua')
-rw-r--r--test/hover/init.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua
index 79469b90..9a30ab81 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -1613,3 +1613,19 @@ local t: {
z: boolean,
}
]]
+
+TEST [[
+<?a?>.b = 10 * 60
+]]
+[[
+global a: {
+ b: integer,
+}
+]]
+
+TEST [[
+a.<?b?> = 10 * 60
+]]
+[[
+global a.b: integer
+]]