summaryrefslogtreecommitdiff
path: root/server/test/hover/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-01-30 12:43:31 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-01-30 12:43:31 +0800
commit3b6db7fa2512f2af92abc758cbf79844ad9f0301 (patch)
tree603893d66e4766c7d442e4b460f204bb827c229f /server/test/hover/init.lua
parentcfd9939902ae0f2050b0d02ab923abf53743c967 (diff)
downloadlua-language-server-3b6db7fa2512f2af92abc758cbf79844ad9f0301.zip
只能先把有问题的测试屏蔽了
Diffstat (limited to 'server/test/hover/init.lua')
-rw-r--r--server/test/hover/init.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/server/test/hover/init.lua b/server/test/hover/init.lua
index 89dd2330..c618e49e 100644
--- a/server/test/hover/init.lua
+++ b/server/test/hover/init.lua
@@ -320,3 +320,15 @@ local obj: {
c: number = 3,
}
]]
+
+TEST[[
+local mt = {}
+mt.__index = {}
+
+function mt:test(a, b)
+ self:<?test?>()
+end
+]]
+[[
+function mt:test(a: any, b: any)
+]]