summaryrefslogtreecommitdiff
path: root/server/test/hover
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-18 13:36:23 +0800
committersumneko <sumneko@hotmail.com>2019-04-18 13:36:23 +0800
commit10680f1a44f92aa0cd32db5e3bb1960bdbb29a25 (patch)
treebfdd6346b174519e287803d41c9f49f13551b5f3 /server/test/hover
parent04c3ce15f1515b11e43e4630888e323c6372b409 (diff)
downloadlua-language-server-10680f1a44f92aa0cd32db5e3bb1960bdbb29a25.zip
值类型参考class
Diffstat (limited to 'server/test/hover')
-rw-r--r--server/test/hover/init.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/server/test/hover/init.lua b/server/test/hover/init.lua
index d71d2407..df9b9586 100644
--- a/server/test/hover/init.lua
+++ b/server/test/hover/init.lua
@@ -464,3 +464,11 @@ local <?n?> = pairs()
function n<next>(table: table [, index: any])
-> key: any, value: any
]]
+
+TEST[[
+---@class Class
+local <?x?> = class()
+]]
+[[
+local x: *Class
+]]