summaryrefslogtreecommitdiff
path: root/test/type_inference
diff options
context:
space:
mode:
Diffstat (limited to 'test/type_inference')
-rw-r--r--test/type_inference/init.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index c07074f7..77440cf6 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -882,3 +882,10 @@ print(t.<?x?>)
TEST 'table' [[
local <?t?> = setmetatable({}, { __index = function () end })
]]
+
+TEST 'player' [[
+---@class player
+local t
+
+<?t?>:getOwner()
+]]