summaryrefslogtreecommitdiff
path: root/test-beta/hover/init.lua
diff options
context:
space:
mode:
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()