summaryrefslogtreecommitdiff
path: root/test/crossfile/definition.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-08-17 11:08:36 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-08-17 11:08:36 +0800
commitb55df9c6704750cf129f75e0408a76806a5e80bd (patch)
tree1ace8b1bd47e0f0ab692d9f7ef9ed3d3b9dfe6f7 /test/crossfile/definition.lua
parentfcbd75d59b8d1de2b89fc1b9e699ca607f32ad78 (diff)
downloadlua-language-server-b55df9c6704750cf129f75e0408a76806a5e80bd.zip
fix
Diffstat (limited to 'test/crossfile/definition.lua')
-rw-r--r--test/crossfile/definition.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/crossfile/definition.lua b/test/crossfile/definition.lua
index 308c754f..6fb17082 100644
--- a/test/crossfile/definition.lua
+++ b/test/crossfile/definition.lua
@@ -829,3 +829,23 @@ print(t.x.<?a?>)
]]
}
}
+
+--TEST {
+-- {
+-- path = 'a.lua',
+-- content = [[
+-----@type Class
+--local m
+--m.<!xx!> = 1
+-- ]]
+-- },
+-- {
+-- path = 'b.lua',
+-- content = [[
+-----@class Class
+--local m
+--
+--print(m.<?xx?>)
+-- ]]
+-- }
+--}