summaryrefslogtreecommitdiff
path: root/script-beta/core/hover/arg.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/core/hover/arg.lua')
-rw-r--r--script-beta/core/hover/arg.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script-beta/core/hover/arg.lua b/script-beta/core/hover/arg.lua
index dc8db16c..37c5e6ad 100644
--- a/script-beta/core/hover/arg.lua
+++ b/script-beta/core/hover/arg.lua
@@ -10,9 +10,9 @@ local function asFunction(source, oop)
local arg = source.args[i]
local name = arg.name or guide.getName(arg)
if name then
- args[i] = ('%s: %s'):format(name, vm.getType(arg))
+ args[i] = ('%s: %s'):format(name, vm.getInferType(arg))
else
- args[i] = ('%s'):format(vm.getType(arg))
+ args[i] = ('%s'):format(vm.getInferType(arg))
end
end
local methodDef