summaryrefslogtreecommitdiff
path: root/test-beta/hover/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-11-28 20:35:19 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-11-28 20:35:19 +0800
commita64957132d5c9ecf6c66003ff028d68772d1aa1f (patch)
tree2df5dee56cd1166b1c87c9f62ad3e268dafe48d6 /test-beta/hover/init.lua
parent1038520109da932c2e648da6ffa9bf25d36944b8 (diff)
downloadlua-language-server-a64957132d5c9ecf6c66003ff028d68772d1aa1f.zip
hover 显示 table
Diffstat (limited to 'test-beta/hover/init.lua')
-rw-r--r--test-beta/hover/init.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/test-beta/hover/init.lua b/test-beta/hover/init.lua
index c5e48aba..744d2328 100644
--- a/test-beta/hover/init.lua
+++ b/test-beta/hover/init.lua
@@ -184,7 +184,7 @@ local <?obj?> = setmetatable({}, mt)
]]
[[
local obj: class {
- __index: table,
+ __index: class,
name: string = "class",
}
]]
@@ -197,9 +197,9 @@ mt.__index = mt
local <?obj?> = setmetatable({}, mt)
]]
[[
-local obj: *class {
+local obj: class {
TYPE: string = "class",
- __index: table,
+ __index: class,
}
]]
@@ -211,9 +211,9 @@ mt.__index = mt
local <?obj?> = setmetatable({}, mt)
]]
[[
-local obj: *class {
+local obj: class {
Class: string = "class",
- __index: table,
+ __index: class,
}
]]