summaryrefslogtreecommitdiff
path: root/server/test/hover
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-05-30 11:02:53 +0800
committersumneko <sumneko@hotmail.com>2019-05-30 11:02:53 +0800
commit9ed437e427f3ecd0aed13e22458e5f6a20c962e2 (patch)
tree95ec4c430fad89e679b567b1516956caf0547529 /server/test/hover
parent4032ae1860538d4486f0d6885cdcf555c13dfa3f (diff)
downloadlua-language-server-9ed437e427f3ecd0aed13e22458e5f6a20c962e2.zip
标签支持
Diffstat (limited to 'server/test/hover')
-rw-r--r--server/test/hover/init.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/test/hover/init.lua b/server/test/hover/init.lua
index cff6af65..c6e01f25 100644
--- a/server/test/hover/init.lua
+++ b/server/test/hover/init.lua
@@ -796,3 +796,10 @@ local <?x?> = f()
[[
local x: any
]]
+
+TEST [[
+local <toclose> <const> <?x?> = 1
+]]
+[[
+local <toclose> <const> x: number = 1
+]]