summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/hover/init.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua
index 4f339c87..9dc9a9a8 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -1671,3 +1671,11 @@ function f1.f2.<?f3?>() end
[[
function f1.f2.f3()
]]
+
+TEST [[
+local t = nil
+t.<?x?>()
+]]
+[[
+field t.x: any
+]]