summaryrefslogtreecommitdiff
path: root/server/src/core/hover_function.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/core/hover_function.lua')
-rw-r--r--server/src/core/hover_function.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/core/hover_function.lua b/server/src/core/hover_function.lua
index 8c0908d2..68818028 100644
--- a/server/src/core/hover_function.lua
+++ b/server/src/core/hover_function.lua
@@ -75,7 +75,7 @@ local function buildValueReturns(func)
local strs = {}
if func.returns then
for i, rtn in ipairs(func.returns) do
- strs[i] = rtn.type
+ strs[i] = rtn:getType()
end
end
if #strs == 0 then