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 542396ab..1d33c6a6 100644 --- a/test-beta/hover/init.lua +++ b/test-beta/hover/init.lua @@ -522,6 +522,16 @@ TEST[[ function a(v) return 'a' end +local <?r?> = a(1) +]] +[[ +local r: string = "a" +]] + +TEST[[ +function a(v) + return 'a' +end local _, <?r?> = pcall(a, 1) ]] [[ |