diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-12-04 16:29:07 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-12-04 16:29:07 +0800 |
commit | efd78df87108830bc2d35cb32678d4fe1d421cc4 (patch) | |
tree | df22db46b1f517ac838863223c917bcceb41e5ce /test | |
parent | a85872115adb2a9d3ec0f14ddf0edb46016a4ea6 (diff) | |
download | lua-language-server-efd78df87108830bc2d35cb32678d4fe1d421cc4.zip |
#278 fully supports doc.generic
Diffstat (limited to 'test')
-rw-r--r-- | test/hover/init.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua index cc2fcea8..f70c8a05 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -1476,3 +1476,16 @@ local v: Object { a: string, } ]] + +--TEST [[ +-----@class C +-----@field x string +--local t +-- +--local <?v?> = assert(t) +--]] +--[[ +--local v: C { +-- x: string, +--} +--]] |