diff options
Diffstat (limited to 'test-beta')
-rw-r--r-- | test-beta/hover/init.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test-beta/hover/init.lua b/test-beta/hover/init.lua index fb2bbf95..326d01c2 100644 --- a/test-beta/hover/init.lua +++ b/test-beta/hover/init.lua @@ -866,6 +866,21 @@ function a(b: table) -> any ]] +TEST [[ +local <?t?> = { + a = true +} + +local t2 = { + [t.a] = function () end, +} +]] +[[ +local t: { + a: boolean = true, +} +]] + TEST[[ ---@class Class local <?x?> = class() |