diff options
Diffstat (limited to 'test-beta/hover/init.lua')
-rw-r--r-- | test-beta/hover/init.lua | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/test-beta/hover/init.lua b/test-beta/hover/init.lua index 37495fb6..2d0d7b1c 100644 --- a/test-beta/hover/init.lua +++ b/test-beta/hover/init.lua @@ -818,6 +818,24 @@ global _G: _G { } ]] +TEST [[ +local x +x = 1 +x = 1.0 + +print(<?x?>) +]] +[[ +local x: number = 1 +]] + +TEST [[ +local <?x?> <close> = 1 +]] +[[ +local x <close>: integer = 1 +]] + --TEST[[ -----@class Class --local <?x?> = class() @@ -1180,12 +1198,6 @@ global _G: _G { --local x: any --]] -- ---TEST [[ ---local <?x?> <close> <const> = 1 ---]] ---[[ ---local x <close> <const>: number = 1 ---]] -- --TEST [[ -----@param x number {optional = 'after'} |