diff options
Diffstat (limited to 'server/src/matcher')
-rw-r--r-- | server/src/matcher/hover.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/matcher/hover.lua b/server/src/matcher/hover.lua index 34137582..b4430b02 100644 --- a/server/src/matcher/hover.lua +++ b/server/src/matcher/hover.lua @@ -324,7 +324,7 @@ return function (vm, pos) end local lib, fullKey, oo = findLib(result) - local valueType = lib and lib.type or result.value.type + local valueType = lib and lib.type or result.value.type or 'nil' local name = fullKey or buildValueName(result, source) if valueType == 'function' then return getFunctionHover(name, result, source, lib, oo) |