diff options
Diffstat (limited to 'test/hover/init.lua')
-rw-r--r-- | test/hover/init.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua index 27cc62ee..dc9125ed 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -1515,3 +1515,14 @@ local <?x?>--测试 [[ local x: any ]] + +TEST [[ +---@type any +local <?t?> +t.a = 1 +]] +[[ +local t: { + a: integer = 1, +} +]] |