diff options
Diffstat (limited to 'test/hover')
-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, +--} +--]] |