diff options
Diffstat (limited to 'script-beta/core')
-rw-r--r-- | script-beta/core/hover/table.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script-beta/core/hover/table.lua b/script-beta/core/hover/table.lua index 9292d183..466d572b 100644 --- a/script-beta/core/hover/table.lua +++ b/script-beta/core/hover/table.lua @@ -3,6 +3,9 @@ local util = require 'utility' local getClass = require 'core.hover.class' local function getKey(info) + if not info.key then + return 'any' + end local ktype = info.key:sub(1, 2) if ktype == 's|' then return info.key:sub(3) |