diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-11-01 14:52:45 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-11-01 14:52:45 +0800 |
commit | f050b38fd69bd1c90b99b536f89f8036c9f4fc3a (patch) | |
tree | f0564c91d20fbb9e26aad2b315df9aad4ff747e7 /test | |
parent | ae95f749532c2252c671d1b3cab73d7e18cf777c (diff) | |
download | lua-language-server-f050b38fd69bd1c90b99b536f89f8036c9f4fc3a.zip |
update search reference
Diffstat (limited to 'test')
-rw-r--r-- | test/references/common.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/references/common.lua b/test/references/common.lua index c20b32ed..7f7e91a6 100644 --- a/test/references/common.lua +++ b/test/references/common.lua @@ -201,3 +201,18 @@ local b = { } a.color = { 1, 1, 1 } b.<~color~> = a.color ]] + +TEST [[ +---@alias <~A~> number + +---@type <!A!> +]] + +TEST [[ +---@class A +---@field <~x~> number + +---@type A +local t +print(t.<!x!>) +]] |