summaryrefslogtreecommitdiff
path: root/test-beta/hover/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-09-17 19:16:01 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-09-17 19:16:01 +0800
commit955e08617643e9961da0000e8bc270b0bd85047c (patch)
treed428b057335075f9e92fb56263865c7f40ae27f1 /test-beta/hover/init.lua
parentf044a2f244803155ab110367addc678321213c16 (diff)
downloadlua-language-server-955e08617643e9961da0000e8bc270b0bd85047c.zip
修正bug
Diffstat (limited to 'test-beta/hover/init.lua')
-rw-r--r--test-beta/hover/init.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/test-beta/hover/init.lua b/test-beta/hover/init.lua
index b5889153..8ec6cb9c 100644
--- a/test-beta/hover/init.lua
+++ b/test-beta/hover/init.lua
@@ -737,6 +737,24 @@ local t: {
}
]]
+TEST [[
+local t = {
+ v = {
+ b = 1,
+ c = 2,
+ d = 3,
+ }
+}
+print(t.<?v?>)
+]]
+[[
+field t.v: {
+ b: integer = 1,
+ c: integer = 2,
+ d: integer = 3,
+}
+]]
+
--TEST[[
-----@class Class
--local <?x?> = class()