diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-08-10 20:19:27 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-08-10 20:19:27 +0800 |
commit | ebf15e83ec1d225c392b5c818824339f6cb68a76 (patch) | |
tree | d2f329d185fce7d64fb7fe90c14415fd6f5c695b /test/crossfile/references.lua | |
parent | 24543ab578b67bea57cf9f8c4817665a03515858 (diff) | |
download | lua-language-server-ebf15e83ec1d225c392b5c818824339f6cb68a76.zip |
improve
Diffstat (limited to 'test/crossfile/references.lua')
-rw-r--r-- | test/crossfile/references.lua | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/crossfile/references.lua b/test/crossfile/references.lua index 0a6f0b57..6c28b34b 100644 --- a/test/crossfile/references.lua +++ b/test/crossfile/references.lua @@ -195,3 +195,25 @@ TEST { ]], }, } + +TEST { + { + path = 'a.lua', + content = [[ + ---@type A + local t + + t.<!f!>() + ]] + }, + { + path = 'b.lua', + content = [[ + ---@class A + local mt + + function mt.<?f?>() + end + ]] + } +} |