diff options
Diffstat (limited to 'test/hover')
-rw-r--r-- | test/hover/init.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua index d1d178fc..7d91c385 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -2466,3 +2466,12 @@ local t: { [3]: table, } ]] + +TEST [[ +---@class A +---@overload fun(x: number): boolean +local <?x?> +]] +[[ +local x: A +]] |