diff options
Diffstat (limited to 'test-beta/hover/init.lua')
-rw-r--r-- | test-beta/hover/init.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test-beta/hover/init.lua b/test-beta/hover/init.lua index ecab266e..3919ca80 100644 --- a/test-beta/hover/init.lua +++ b/test-beta/hover/init.lua @@ -624,6 +624,16 @@ function f() 2. nil ]] +TEST [[ +local function f() + return nil +end +local <?x?> = f() +]] +[[ +local x: nil +]] + --TEST[[ -----@class Class --local <?x?> = class() |