summaryrefslogtreecommitdiff
path: root/test/type_inference/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-19 18:05:53 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-19 18:05:53 +0800
commit65566ae751f77fabdd5b7d8aa985c3529d3800df (patch)
tree617a69d4aa1dd3746f1118b3a70a99953cd7b575 /test/type_inference/init.lua
parent29a0af6555795bd303928c8667dad02586adfe11 (diff)
parent8760bf99594594e009bc6aa2bb1816eb02fc7006 (diff)
downloadlua-language-server-65566ae751f77fabdd5b7d8aa985c3529d3800df.zip
Merge branch 'bugfix'
Diffstat (limited to 'test/type_inference/init.lua')
-rw-r--r--test/type_inference/init.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index c76e372c..871b4ef8 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -992,3 +992,8 @@ local mt
---@type number
function mt:f(<?x?>) end
]]
+
+TEST 'Test' [[
+---@class Test
+_G.<?Test?> = {}
+]]